Update JVM target and toolchain to version 17
This commit is contained in:
parent
97b98a872d
commit
5006f5128b
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user