[KGP] Fix test fails with LV 1.3
Kotlin compiler now throws error with LV 1.3 meaning KGP could not be used with Gradle 6.x.
This commit is contained in:
committed by
Space Team
parent
2988d671f7
commit
861563fdb0
+1
-1
@@ -198,7 +198,7 @@ class SubpuginsIT : KGPBaseTest() {
|
|||||||
|
|
||||||
@DisplayName("KT-51378: Using 'kotlin-dsl' with latest plugin version in buildSrc module")
|
@DisplayName("KT-51378: Using 'kotlin-dsl' with latest plugin version in buildSrc module")
|
||||||
@GradleTestVersions(
|
@GradleTestVersions(
|
||||||
minVersion = TestVersions.Gradle.G_6_8 // Gradle usage of sam-with-receivers subplugin was added in this version
|
minVersion = TestVersions.Gradle.G_7_0 // Kotlin compiler 1.9 throws error on 1.3 language level (Gradle 6)
|
||||||
)
|
)
|
||||||
@GradleTest
|
@GradleTest
|
||||||
fun testBuildSrcKotlinDSL(gradleVersion: GradleVersion) {
|
fun testBuildSrcKotlinDSL(gradleVersion: GradleVersion) {
|
||||||
|
|||||||
Reference in New Issue
Block a user