Skip to content

Commit be5b4b8

Browse files
ci: update JDK version to 21 for Gradle 9.x compatibility
Gradle 9.x requires JDK 17 or higher. Update both CI and publish workflows to use JDK 21 instead of JDK 8. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 137f7e3 commit be5b4b8

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
strategy:
2828
matrix:
29-
java-version: ['8', '21']
29+
java-version: ['21']
3030
steps:
3131
- name: Checkout
3232
uses: actions/checkout@v4

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232
- name: Checkout
3333
uses: actions/checkout@v4
3434

35-
- name: Set up JDK 8
35+
- name: Set up JDK 21
3636
uses: actions/setup-java@v4
3737
with:
38-
java-version: 8
38+
java-version: 21
3939
distribution: temurin
4040

4141
- name: Setup Gradle

0 commit comments

Comments
 (0)