Skip to content

Commit

Permalink
chore: update the build.gradle java version to 17 (#1083)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chesire authored Oct 2, 2023
1 parent 85abff0 commit 117d98d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ subprojects {
if (plugins.hasPlugin("android") || plugins.hasPlugin("android-library")) {
configure<com.android.build.gradle.BaseExtension> {
compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
configure<org.jetbrains.kotlin.gradle.dsl.KotlinAndroidProjectExtension> {
jvmToolchain(JavaVersion.VERSION_11.majorVersion.toInt())
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
}
configure<org.jetbrains.kotlin.gradle.dsl.KotlinAndroidProjectExtension> {
jvmToolchain(17)
}
}
}
}
Expand Down

0 comments on commit 117d98d

Please sign in to comment.