Skip to content

Commit cd866e3

Browse files
authored
Merge pull request #163 from enbohm/java_21
Update to Java 21
2 parents e8dd97a + 5518746 commit cd866e3

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ jobs:
3535
- name: Checkout repository
3636
uses: actions/checkout@v4
3737

38-
- name: Set up JDK 17
38+
- name: Set up JDK 21
3939
uses: actions/setup-java@v4
4040
with:
4141
distribution: 'temurin'
42-
java-version: 17
42+
java-version: 21
4343
cache: 'maven'
4444

4545
# Initializes the CodeQL tools for scanning.

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Set up JDK 17
19+
- name: Set up JDK 21
2020
uses: actions/setup-java@v4
2121
with:
2222
distribution: 'temurin'
23-
java-version: 17
23+
java-version: 21
2424
cache: 'maven'
2525
- name: Login to Docker Hub
2626
if: github.ref == 'refs/heads/main'

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ A service that connects with the EV-charger from Charge Amps Halo Wallbox API. T
66
API reference at https://eapi.charge.space/swagger/index.html
77

88
## Building and running locally
9-
You need Java 17 and maven 3.8 (or above) installed on your local machine.
9+
You need Java 21 and maven 3.9 (or above) installed on your local machine.
1010

1111
```mvn clean verify``` builds the code and runs tests.
1212

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
<properties>
1111
<compiler-plugin.version>3.12.1</compiler-plugin.version>
1212
<maven.compiler.parameters>true</maven.compiler.parameters>
13-
<maven.compiler.source>17</maven.compiler.source>
14-
<maven.compiler.target>17</maven.compiler.target>
13+
<maven.compiler.source>21</maven.compiler.source>
14+
<maven.compiler.target>21</maven.compiler.target>
1515
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1616
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
1717
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>

0 commit comments

Comments
 (0)