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 5ef44e7 commit a5ec7f8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'
- uses: gradle/actions/setup-gradle@v4
- name: Assemble
run: ./gradlew assemble
Expand All @@ -40,7 +40,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'
- uses: gradle/actions/setup-gradle@v4
- name: Check
run: ./gradlew check && ./gradlew -p build-logic detekt
Expand All @@ -59,7 +59,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'
- uses: gradle/actions/setup-gradle@v4
- name: Publish snapshot
run: ./gradlew publishToMavenCentral
2 changes: 1 addition & 1 deletion .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '22'
java-version: '23'
- uses: gradle/actions/setup-gradle@v4
- uses: actions/setup-python@v4
with:
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 @@ -9,7 +9,7 @@ plugins {

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 @@ -124,7 +124,7 @@ private fun KotlinMultiplatformExtension.configureTargets(project: Project) {
}
}
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(22))
languageVersion.set(JavaLanguageVersion.of(23))
vendor.set(JvmVendorSpec.AZUL)
}
project.tasks.withType<KotlinJvmCompile>().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 a5ec7f8

Please sign in to comment.