Skip to content

Commit

Permalink
Bump JVM toolchain to 11 (#403)
Browse files Browse the repository at this point in the history
  • Loading branch information
twyatt authored Sep 23, 2024
1 parent 76fa5bd commit 64fc62a
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 15 deletions.
7 changes: 0 additions & 7 deletions coroutines/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,6 @@ kotlin {
}

android {
// Workaround (for `jvmToolchain` not being honored) needed until AGP 8.1.0-alpha09.
// https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

compileSdk = libs.versions.android.compile.get().toInt()
defaultConfig.minSdk = 16

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
android-compile = "34"
coroutines = "1.9.0"
jacoco = "0.8.7"
jvm-toolchain = "8"
jvm-toolchain = "11"
kotlin = "2.0.20"
ktor = "2.3.12"

Expand Down
7 changes: 0 additions & 7 deletions temporal/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,6 @@ kotlin {
}

android {
// Workaround (for `jvmToolchain` not being honored) needed until AGP 8.1.0-alpha09.
// https://kotlinlang.org/docs/gradle-configure-project.html#gradle-java-toolchains-support
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

compileSdk = libs.versions.android.compile.get().toInt()
defaultConfig.minSdk = 16

Expand Down

0 comments on commit 64fc62a

Please sign in to comment.