mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-05 16:58:52 -06:00
Update JVM target and toolchain to version 17
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
kotlin {
|
||||
jvmToolchain(11)
|
||||
jvmToolchain(17)
|
||||
}
|
||||
|
||||
android {
|
||||
@@ -79,11 +79,11 @@ android {
|
||||
|
||||
compileOptions {
|
||||
isCoreLibraryDesugaringEnabled = true
|
||||
targetCompatibility(JavaVersion.VERSION_11)
|
||||
sourceCompatibility(JavaVersion.VERSION_11)
|
||||
targetCompatibility(JavaVersion.VERSION_17)
|
||||
sourceCompatibility(JavaVersion.VERSION_17)
|
||||
}
|
||||
|
||||
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.toString()
|
||||
kotlinOptions.jvmTarget = JavaVersion.VERSION_17.toString()
|
||||
buildFeatures.viewBinding = true
|
||||
lint.abortOnError = false
|
||||
}
|
||||
|
||||
@@ -24,7 +24,7 @@ plugins {
|
||||
|
||||
kotlin {
|
||||
jvm().withJava()
|
||||
jvmToolchain(11)
|
||||
jvmToolchain(17)
|
||||
|
||||
sourceSets {
|
||||
val commonMain by getting {
|
||||
|
||||
Reference in New Issue
Block a user