Fixup for 1f5fa5eb7 – adjust error message

This commit is contained in:
Sergey Igushkin
2020-06-30 13:14:03 +03:00
parent 1f5fa5eb7c
commit 8ba131290a
5 changed files with 6 additions and 6 deletions
@@ -89,7 +89,7 @@ class AllOpenGradleSubplugin @Inject internal constructor(private val registry:
kotlinCompilation: KotlinCompilation<KotlinCommonOptions>?
): List<SubpluginOption> = throw GradleException(
"This version of the kotlin-allopen Gradle plugin is built for a newer Kotlin version. " +
"Please use an older version of kotlin-allopen or upgrade the Kotlin version to make them match."
"Please use an older version of kotlin-allopen or upgrade the Kotlin Gradle plugin version to make them match."
)
//endregion
}
@@ -203,7 +203,7 @@ class SubpluginsIT : BaseGradleIT() {
mavenCentral()
}
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.70")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.72")
}
}
@@ -244,7 +244,7 @@ class SubpluginsIT : BaseGradleIT() {
assertFailed()
assertContains(
"This version of the kotlin-$plugin Gradle plugin is built for a newer Kotlin version. " +
"Please use an older version of kotlin-$plugin or upgrade the Kotlin version to make them match."
"Please use an older version of kotlin-$plugin or upgrade the Kotlin Gradle plugin version to make them match."
)
}
}
@@ -93,7 +93,7 @@ class NoArgGradleSubplugin @Inject internal constructor(private val registry: To
kotlinCompilation: KotlinCompilation<KotlinCommonOptions>?
): List<SubpluginOption> = throw GradleException(
"This version of the kotlin-noarg Gradle plugin is built for a newer Kotlin version. " +
"Please use an older version of kotlin-noarg or upgrade the Kotlin version to make them match."
"Please use an older version of kotlin-noarg or upgrade the Kotlin Gradle plugin version to make them match."
)
//endregion
}
@@ -86,7 +86,7 @@ class SamWithReceiverGradleSubplugin @Inject internal constructor(private val re
kotlinCompilation: KotlinCompilation<KotlinCommonOptions>?
): List<SubpluginOption> = throw GradleException(
"This version of the kotlin-sam-with-receiver Gradle plugin is built for a newer Kotlin version. " +
"Please use an older version of kotlin-sam-with-receiver or upgrade the Kotlin version to make them match."
"Please use an older version of kotlin-sam-with-receiver or upgrade the Kotlin Gradle plugin version to make them match."
)
//endregion
}
@@ -60,7 +60,7 @@ class SerializationGradleSubplugin :
kotlinCompilation: KotlinCompilation<KotlinCommonOptions>?
): List<SubpluginOption> = throw GradleException(
"This version of the kotlin-serialization Gradle plugin is built for a newer Kotlin version. " +
"Please use an older version of kotlin-serialization or upgrade the Kotlin version to make them match."
"Please use an older version of kotlin-serialization or upgrade the Kotlin Gradle plugin version to make them match."
)
//endregion
}