Skip to content

Commit 0b92de6

Browse files
committed
bump java version
1 parent 9c131a8 commit 0b92de6

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- uses: actions/checkout@v1
1616
- uses: actions/setup-java@v1
1717
with:
18-
java-version: 8
18+
java-version: 17
1919
- uses: eskatos/gradle-command-action@v1
2020
with:
2121
dependencies-cache-enabled: true

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v1
1313
- uses: actions/setup-java@v1
1414
with:
15-
java-version: 8
15+
java-version: 17
1616
- run: |
1717
echo "version=${GITHUB_REF##*/}" >> gradle.properties
1818
echo "gradle.publish.key=${{ secrets.GRADLE_PUBLISH_KEY }}" >> gradle.properties
@@ -27,7 +27,7 @@ jobs:
2727
- uses: actions/checkout@v1
2828
- uses: actions/setup-java@v1
2929
with:
30-
java-version: 8
30+
java-version: 17
3131
- run: |
3232
echo "version=${GITHUB_REF##*/}" >> gradle.properties
3333
- uses: eskatos/gradle-command-action@v1

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ allprojects {
99

1010
subprojects {
1111
plugins.withId('java') {
12-
sourceCompatibility = JavaVersion.VERSION_1_8
13-
targetCompatibility = JavaVersion.VERSION_1_8
12+
sourceCompatibility = JavaVersion.VERSION_17
13+
targetCompatibility = JavaVersion.VERSION_17
1414

1515
compileJava {
1616
options.encoding = 'UTF-8'

0 commit comments

Comments
 (0)