Skip to content

Commit

Permalink
Simplify Toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
imknown committed Aug 29, 2024
1 parent cc066aa commit f3f089c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
13 changes: 8 additions & 5 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
13 changes: 8 additions & 5 deletions base/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f3f089c

Please sign in to comment.