Apply -Xjvm-default for specific modules only

This commit is contained in:
Mikhael Bogdanov
2021-12-02 14:12:35 +01:00
parent c0ffbe03c6
commit 0997207c7c
9 changed files with 29 additions and 8 deletions
@@ -56,4 +56,9 @@ projectTest(parallel = true, jUnitMode = JUnitMode.JUnit5) {
useJUnitPlatform()
}
val generateTests by generator("org.jetbrains.kotlinx.serialization.TestGeneratorKt")
val generateTests by generator("org.jetbrains.kotlinx.serialization.TestGeneratorKt")
//TODO: could be removed after bootstrap
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions.freeCompilerArgs += "-Xjvm-default=compatibility"
}