Update JVM target and toolchain to version 17

This commit is contained in:
2025-06-25 21:00:24 -05:00
parent 97b98a872d
commit 5006f5128b
2 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ Updating gradle might fix this, so try again in the future to remove this and ru
If this doesn't produce any warning, try to remove it. If this doesn't produce any warning, try to remove it.
*/ */
kotlin { kotlin {
jvmToolchain(11) jvmToolchain(17)
} }
android { android {
@@ -79,11 +79,11 @@ android {
compileOptions { compileOptions {
isCoreLibraryDesugaringEnabled = true isCoreLibraryDesugaringEnabled = true
targetCompatibility(JavaVersion.VERSION_11) targetCompatibility(JavaVersion.VERSION_17)
sourceCompatibility(JavaVersion.VERSION_11) sourceCompatibility(JavaVersion.VERSION_17)
} }
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString() kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
buildFeatures.viewBinding = true buildFeatures.viewBinding = true
lint.abortOnError = false lint.abortOnError = false
} }

View File

@@ -24,7 +24,7 @@ plugins {
kotlin { kotlin {
jvm().withJava() jvm().withJava()
jvmToolchain(11) jvmToolchain(17)
sourceSets { sourceSets {
val commonMain by getting { val commonMain by getting {