[Gradle] Limit language version for tests providing Gradle plugins
#KT-60588 In Progress
This commit is contained in:
committed by
Space Team
parent
c6b1d37476
commit
bdf87c2713
+6
@@ -12,4 +12,10 @@ allprojects {
|
||||
dependencies {
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin-api:$kotlin_version")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>("compileKotlin").configure {
|
||||
compilerOptions {
|
||||
languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_9)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user