Fixup for 1f5fa5eb7 – adjust error message
This commit is contained in:
+1
-1
@@ -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
|
||||
}
|
||||
+2
-2
@@ -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."
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -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
|
||||
}
|
||||
+1
-1
@@ -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
|
||||
}
|
||||
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user