diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 6101d036..1490ac0a 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -114,13 +114,16 @@ android { compileOptions { isCoreLibraryDesugaringEnabled = true - - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 } - kotlinOptions { - jvmTarget = "17" +// java { +// toolchain { +// languageVersion = JavaLanguageVersion.of(17) +// } +// } + + kotlin { + jvmToolchain(17) } externalNativeBuild { diff --git a/base/build.gradle.kts b/base/build.gradle.kts index af9df236..821dd95e 100644 --- a/base/build.gradle.kts +++ b/base/build.gradle.kts @@ -22,13 +22,16 @@ android { compileOptions { isCoreLibraryDesugaringEnabled = true - - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 } - kotlinOptions { - jvmTarget = "17" +// java { +// toolchain { +// languageVersion = JavaLanguageVersion.of(17) +// } +// } + + kotlin { + jvmToolchain(17) } buildFeatures {