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 373a387 commit df5ba0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'
- uses: gradle/actions/setup-gradle@v4
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
Expand All @@ -46,7 +46,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'
- uses: gradle/actions/setup-gradle@v4
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
Expand All @@ -68,7 +68,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'
- name: Configure git user
run: |
git config --global user.name "GitHub Action"
Expand Down Expand Up @@ -101,7 +101,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'
- uses: gradle/actions/setup-gradle@v4
with:
cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ gradlePlugin {

kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(22))
languageVersion.set(JavaLanguageVersion.of(23))
vendor.set(JvmVendorSpec.AZUL)
}
}
Expand Down Expand Up @@ -116,7 +116,7 @@ detekt {
}

tasks.withType<Detekt>().configureEach {
jvmTarget = JvmTarget.JVM_21.target
jvmTarget = JvmTarget.JVM_22.target
reports {
html.outputLocation.set(file("build/reports/detekt/${project.name}.html"))
}
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 df5ba0c

Please sign in to comment.