Skip to content

Commit 5006f51

Browse files
committed
Update JVM target and toolchain to version 17
1 parent 97b98a8 commit 5006f51

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

uhabits-android/build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Updating gradle might fix this, so try again in the future to remove this and ru
3636
If this doesn't produce any warning, try to remove it.
3737
*/
3838
kotlin {
39-
jvmToolchain(11)
39+
jvmToolchain(17)
4040
}
4141

4242
android {
@@ -79,11 +79,11 @@ android {
7979

8080
compileOptions {
8181
isCoreLibraryDesugaringEnabled = true
82-
targetCompatibility(JavaVersion.VERSION_11)
83-
sourceCompatibility(JavaVersion.VERSION_11)
82+
targetCompatibility(JavaVersion.VERSION_17)
83+
sourceCompatibility(JavaVersion.VERSION_17)
8484
}
8585

86-
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
86+
kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
8787
buildFeatures.viewBinding = true
8888
lint.abortOnError = false
8989
}

uhabits-core/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ plugins {
2424

2525
kotlin {
2626
jvm().withJava()
27-
jvmToolchain(11)
27+
jvmToolchain(17)
2828

2929
sourceSets {
3030
val commonMain by getting {

0 commit comments

Comments
 (0)