Build compiler with -Xjvm-default=all + @JvmDefaultCompatibility when needed

This commit is contained in:
Mikhael Bogdanov
2021-12-08 10:05:41 +01:00
committed by Alexander Udalov
parent 61d339e8f2
commit c168a19a58
9 changed files with 22 additions and 33 deletions
-4
View File
@@ -15,8 +15,4 @@ sourceSets {
"test" {}
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions.freeCompilerArgs += "-Xjvm-default=all-compatibility"
}
optInToExperimentalCompilerApi()