Skip to content

Commit 88ef175

Browse files
authored
chore: Use Java 17 for builds (#251)
Note: We compile still against Java 8 (-release 8).
1 parent 59a4a57 commit 88ef175

File tree

5 files changed

+7
-6
lines changed

5 files changed

+7
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 #v5.0.0
2727
with:
2828
distribution: 'temurin'
29-
java-version: '11'
29+
java-version: '17'
3030
cache: 'maven'
3131
- name: Build with Maven
3232
run: |

.github/workflows/publish-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 #v5.0.0
3939
with:
4040
distribution: 'temurin'
41-
java-version: '11'
41+
java-version: '17'
4242
cache: 'maven'
4343
- name: Determine Version
4444
id: version
@@ -94,7 +94,7 @@ jobs:
9494
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 #v5.0.0
9595
with:
9696
distribution: 'temurin'
97-
java-version: '11'
97+
java-version: '17'
9898
cache: 'maven'
9999
server-id: central
100100
server-username: MAVEN_USERNAME

.github/workflows/publish-snapshot.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 #v5.0.0
3737
with:
3838
distribution: 'temurin'
39-
java-version: '11'
39+
java-version: '17'
4040
cache: 'maven'
4141
- name: Determine Version
4242
id: version
@@ -83,7 +83,7 @@ jobs:
8383
- uses: actions/setup-java@dded0888837ed1f317902acf8a20df0ad188d165 #v5.0.0
8484
with:
8585
distribution: 'temurin'
86-
java-version: '11'
86+
java-version: '17'
8787
cache: 'maven'
8888
server-id: central
8989
server-username: MAVEN_USERNAME

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* [#170](https://github.com/pmd/pmd-designer/pull/170): \[ci] Make build a reuseable workflow - [Andreas Dangel](https://github.com/adangel) (@adangel)
1313
* [#207](https://github.com/pmd/pmd-designer/pull/207): \[ci] Cleanup old scripts - [Andreas Dangel](https://github.com/adangel) (@adangel)
1414
* [#216](https://github.com/pmd/pmd-designer/pull/216): chore: CI Improvements - [Andreas Dangel](https://github.com/adangel) (@adangel)
15+
* [#251](https://github.com/pmd/pmd-designer/pull/251): chore: Use Java 17 for builds - [Andreas Dangel](https://github.com/adangel) (@adangel)
1516

1617
**📦 Dependency updates:**
1718
<details>

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@
430430
<configuration>
431431
<rules>
432432
<requireJavaVersion>
433-
<version>[11,)</version>
433+
<version>[17,)</version>
434434
</requireJavaVersion>
435435
</rules>
436436
</configuration>

0 commit comments

Comments
 (0)