Upgrade JVM source/target compatibility to 11

pull/571/head
Simon Marquis 2 years ago
parent 8a25efabfc
commit 0cf2f25edd

@ -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()
}
}

Loading…
Cancel
Save