Update build.gradle

This commit is contained in:
InsanusMokrassar 2022-06-15 16:14:59 +06:00 committed by GitHub
parent 81af45ba5d
commit 7f63d30274
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,13 @@ repositories {
} }
kotlin { kotlin {
jvm() jvm {
compilations.main {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
js(IR) { js(IR) {
browser() browser()
nodejs() nodejs()
@ -52,9 +58,8 @@ kotlin {
} }
java { java {
toolchain { sourceCompatibility = JavaVersion.VERSION_1_8
languageVersion = JavaLanguageVersion.of(8) targetCompatibility = JavaVersion.VERSION_1_8
}
} }
apply from: "defaultAndroidSettings.gradle" apply from: "defaultAndroidSettings.gradle"