There was an error while loading. Please reload this page.
1 parent ab4fdb6 commit f8173c5Copy full SHA for f8173c5
1 file changed
app/build.gradle.kts
@@ -1,3 +1,4 @@
1
+import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
import org.jetbrains.kotlin.gradle.tasks.KotlinJvmCompile
3
4
plugins {
@@ -47,6 +48,8 @@ android {
47
48
}
49
compileOptions {
50
isCoreLibraryDesugaringEnabled = true
51
+ sourceCompatibility = JavaVersion.VERSION_17
52
+ targetCompatibility = JavaVersion.VERSION_17
53
54
buildFeatures {
55
compose = true
@@ -67,6 +70,7 @@ android {
67
70
68
71
tasks.withType<KotlinJvmCompile>().configureEach {
69
72
compilerOptions {
73
+ jvmTarget.set(JvmTarget.JVM_17)
74
freeCompilerArgs.add("-opt-in=kotlin.RequiresOptIn")
75
76
0 commit comments