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
@@ -79,3 +79,8 @@ projectTest {
systemProperty("robolectric.classpath", robolectricClasspathProvider.get())
}
}
//TODO: could be removed after bootstrap
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
kotlinOptions.freeCompilerArgs += "-Xjvm-default=compatibility"
}