|
|
|
@ -40,8 +40,8 @@ internal fun Project.configureKotlinAndroid(
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
compileOptions {
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_11
|
|
|
|
|
targetCompatibility = JavaVersion.VERSION_11
|
|
|
|
|
isCoreLibraryDesugaringEnabled = true
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -59,8 +59,8 @@ internal fun Project.configureKotlinAndroid(
|
|
|
|
|
"-opt-in=kotlin.Experimental",
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// Set JVM target to 1.8
|
|
|
|
|
jvmTarget = JavaVersion.VERSION_1_8.toString()
|
|
|
|
|
// Set JVM target to 11
|
|
|
|
|
jvmTarget = JavaVersion.VERSION_11.toString()
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|