Skip to content

Commit 4f0a400

Browse files
committed
chore: update to jdk 21
1 parent 2d81539 commit 4f0a400

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/workflow.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v2
1212

13-
- uses: actions/setup-java@v1
13+
- uses: actions/setup-java@v3
1414
with:
15-
java-version: 17
15+
distribution: 'zulu'
16+
java-version: 21
1617

1718
- name: Assemble
1819
run: ./gradlew assemble --warning-mode all
1920

2021
- name: Check
2122
run: ./gradlew check --warning-mode all
22-

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'java'
22

3-
sourceCompatibility = 17
4-
targetCompatibility = 17
3+
sourceCompatibility = 21
4+
targetCompatibility = 21
55

66
repositories {
77
mavenCentral()

0 commit comments

Comments
 (0)