We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8cc45ce + 56d2c3e commit 31f2a34Copy full SHA for 31f2a34
build.gradle.kts
@@ -77,9 +77,12 @@ subprojects {
77
}
78
79
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().all {
80
- kotlinOptions {
81
- jvmTarget = "11"
82
- freeCompilerArgs += listOf("-Xjvm-default=all-compatibility")
+ if (!name.lowercase().contains("test")) {
+ kotlinOptions {
+ jvmTarget = "11"
83
+ freeCompilerArgs += listOf("-Xjvm-default=all-compatibility")
84
+ apiVersion = org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_1_6.version
85
+ }
86
87
88
0 commit comments