Skip to content

Commit

Permalink
Build with Java 22.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Mar 21, 2024
1 parent d5229b2 commit 3155515
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 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: '21'
java-version: '22'
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
Expand All @@ -45,7 +45,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
java-version: '22'
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
Expand All @@ -67,7 +67,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
java-version: '22'
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '21'
java-version: '22'
- uses: gradle/actions/setup-gradle@v3
with:
gradle-home-cache-cleanup: true
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(21))
languageVersion.set(JavaLanguageVersion.of(22))
vendor.set(JvmVendorSpec.AZUL)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ private fun Project.configureSubproject() {
private fun KotlinMultiplatformExtension.configureTargets(project: Project) {
jvm {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(21))
languageVersion.set(JavaLanguageVersion.of(22))
vendor.set(JvmVendorSpec.AZUL)
}
compilations.configureEach {
Expand Down

0 comments on commit 3155515

Please sign in to comment.