Skip to content

Commit 0ea9f6f

Browse files
authored
Merge pull request #1818 from steve-community/1707-upgrade-to-java-21
switch to java 21 (#1707)
2 parents 946eace + 77b0d7f commit 0ea9f6f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
fail-fast: false
88
matrix:
99
os: [ ubuntu-latest ]
10-
java: [ '17', '21' ]
10+
java: [ '21', '23' ]
1111
db: [ 'mysql:8.0', 'mariadb:10.3', 'mariadb:10.4.30', 'mariadb:10.5.21', 'mariadb:10.6.14' ]
1212
runs-on: ${{ matrix.os }}
1313
services:

.github/workflows/review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
with:
1010
fetch-depth: 0
1111

12-
- name: Set up Java 17
12+
- name: Set up Java
1313
uses: actions/setup-java@v5
1414
with:
15-
java-version: 17
15+
java-version: 21
1616
distribution: 'temurin'
1717
cache: maven
1818

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM eclipse-temurin:17-jdk
1+
FROM eclipse-temurin:21-jdk
22

33
ENV LANG=C.UTF-8 LC_ALL=C.UTF-8
44

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ https://github.com/steve-community/steve/wiki/Charging-Station-Compatibility
3838
### System Requirements
3939

4040
SteVe requires
41-
* JDK 17 or newer
41+
* JDK 21 or newer
4242
* Maven
4343
* MySQL or MariaDB. You should use [one of these](.github/workflows/main.yml#L11) supported versions.
4444

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</licenses>
3333

3434
<properties>
35-
<java.version>17</java.version>
35+
<java.version>21</java.version>
3636
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
3737

3838
<jooq.version>3.19.18</jooq.version>
@@ -166,7 +166,7 @@
166166
<configuration>
167167
<rules>
168168
<requireJavaVersion>
169-
<version>[17,)</version>
169+
<version>[21,)</version>
170170
</requireJavaVersion>
171171
<requireMavenVersion>
172172
<version>[3.3.9,)</version>

0 commit comments

Comments
 (0)