Skip to content

Commit

Permalink
chore: Bump JDK from 17 to 21
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliver Weiler committed Oct 5, 2023
1 parent 0960d0d commit 5405d0b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: temurin
distribution: zulu
java-version: |
8
17
21
cache: maven
- name: Cache Sonar
uses: actions/cache@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- name: Set up Java
uses: actions/setup-java@v3
with:
distribution: temurin
distribution: zulu
java-version: |
8
17
21
cache: maven
- name: Build
env:
Expand Down
9 changes: 6 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>io.github.helpermethod</groupId>
Expand Down Expand Up @@ -33,7 +34,7 @@

<properties>
<java.version>8</java.version>
<java.testVersion>17</java.testVersion>
<java.testVersion>21</java.testVersion>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.testRelease>${java.testVersion}</maven.compiler.testRelease>
Expand Down Expand Up @@ -134,7 +135,9 @@
<version>2.40.0</version>
<configuration>
<java>
<palantirJavaFormat/>
<palantirJavaFormat>
<version>2.38.0</version>
</palantirJavaFormat>
</java>
<pom>
<sortPom>
Expand Down

0 comments on commit 5405d0b

Please sign in to comment.