Skip to content

Commit

Permalink
Build and compile with Java 23.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Sep 18, 2024
1 parent 97beacc commit c528018
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'

- name: Decrypt secrets
run: |
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'

- uses: gradle/actions/setup-gradle@v4
with:
Expand All @@ -102,7 +102,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'

- uses: gradle/actions/setup-gradle@v4
with:
Expand All @@ -129,7 +129,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'

- name: Download build artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'

- name: Download build artifacts
uses: actions/download-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion build-logic/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kotlin {
}
}
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(22))
languageVersion.set(JavaLanguageVersion.of(23))
vendor.set(JvmVendorSpec.AZUL)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ internal fun Project.configureDetekt() {
parallel = true
}
tasks.withType<Detekt>().configureEach {
jvmTarget = JvmTarget.JVM_21.target
jvmTarget = JvmTarget.JVM_22.target
reports {
xml.required.set(false)
txt.required.set(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ internal fun KotlinProjectExtension.configureKotlin(
enableExplicitApi: Boolean = true,
) {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(22))
languageVersion.set(JavaLanguageVersion.of(23))
vendor.set(JvmVendorSpec.AZUL)
}
target.tasks.withType<KotlinCompile>().configureEach {
Expand Down
2 changes: 1 addition & 1 deletion gradle/gradle-daemon-jvm.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#This file is generated by updateDaemonJvm
toolchainVersion=22
toolchainVersion=23

0 comments on commit c528018

Please sign in to comment.