|
|
|
@ -170,7 +170,6 @@ allprojects {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tasks.withType(KotlinCompile).configureEach {
|
|
|
|
|
kotlinOptions.jvmTarget = "17"
|
|
|
|
|
kotlinOptions.allWarningsAsErrors = true
|
|
|
|
|
kotlinOptions.freeCompilerArgs += [
|
|
|
|
|
"-opt-in=kotlin.RequiresOptIn", "-Xjvm-default=all-compatibility"
|
|
|
|
@ -180,13 +179,8 @@ allprojects {
|
|
|
|
|
|
|
|
|
|
subprojects {
|
|
|
|
|
afterEvaluate {
|
|
|
|
|
if (it.hasProperty('android')) {
|
|
|
|
|
android {
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
|
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
kotlin {
|
|
|
|
|
jvmToolchain(config.jvmTargetCompatibility)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|