Skip to content

Commit c4a0933

Browse files
committed
bump to java21
1 parent 7e46e5e commit c4a0933

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/test-java.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/setup-java@v4
1818
with:
1919
distribution: 'adopt'
20-
java-version: '17' # maven won't accept --release argument with java < 8; and 11 is next LTS
20+
java-version: '21' # maven won't accept --release argument with java < 8; and 11 is next LTS
2121
- id: 'read-cache-maven-packages'
2222
name: Read Cached Maven packages
2323
uses: actions/cache@v4
@@ -56,7 +56,7 @@ jobs:
5656
- uses: actions/setup-java@v4
5757
with:
5858
distribution: 'adopt'
59-
java-version: '17' # maven won't accept --release argument with java < 8; and 11 is next LTS
59+
java-version: '21' # maven won't accept --release argument with java < 8; and 11 is next LTS
6060
- id: 'read-cache-maven-packages'
6161
name: Read Cached Maven packages
6262
uses: actions/cache@v4

java/pom.xml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@
4141
<artifactId>maven-compiler-plugin</artifactId>
4242
<version>3.13.0</version>
4343
<configuration>
44-
<source>17</source>
45-
<target>17</target>
46-
44+
<source>21</source>
45+
<target>21</target>
4746
</configuration>
4847
</plugin>
4948
<plugin>

0 commit comments

Comments
 (0)