We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86eac20 + 0cf2f25 commit e37ebd4Copy full SHA for e37ebd4
build-logic/convention/src/main/kotlin/com/google/samples/apps/nowinandroid/KotlinAndroid.kt
@@ -40,8 +40,8 @@ internal fun Project.configureKotlinAndroid(
40
}
41
42
compileOptions {
43
- sourceCompatibility = JavaVersion.VERSION_1_8
44
- targetCompatibility = JavaVersion.VERSION_1_8
+ sourceCompatibility = JavaVersion.VERSION_11
+ targetCompatibility = JavaVersion.VERSION_11
45
isCoreLibraryDesugaringEnabled = true
46
47
@@ -59,8 +59,8 @@ internal fun Project.configureKotlinAndroid(
59
"-opt-in=kotlin.Experimental",
60
)
61
62
- // Set JVM target to 1.8
63
- jvmTarget = JavaVersion.VERSION_1_8.toString()
+ // Set JVM target to 11
+ jvmTarget = JavaVersion.VERSION_11.toString()
64
65
66
0 commit comments