Skip to content

Commit d2a4778

Browse files
authored
Merge pull request #158 from tls-attacker/build/java21
build: Switch to Java 21
2 parents 019996a + 528a5bc commit d2a4778

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ pipeline {
22
agent any
33

44
environment {
5-
JDK_TOOL_NAME = 'JDK 11'
5+
JDK_TOOL_NAME = 'JDK 21'
66
MAVEN_TOOL_NAME = 'Maven 3.9.9'
77
}
88

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Maven by running:
1414
$ sudo apt-get install maven
1515
```
1616

17-
ModifiableVariable currently needs Java JDK 11 to run. If you have the correct Java version you can install
17+
ModifiableVariable currently needs Java JDK 21 to run. If you have the correct Java version you can install
1818
ModifiableVariable as follows.
1919

2020
```bash
@@ -30,7 +30,7 @@ If you want to use this project as a dependency, you do not have to compile it y
3030
<dependency>
3131
<groupId>de.rub.nds</groupId>
3232
<artifactId>modifiable-variable</artifactId>
33-
<version>4.0.0</version>
33+
<version>5.0.0</version>
3434
</dependency>
3535
```
3636

pom.xml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
<properties>
5959
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
6060
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
61-
<maven.compiler.source>11</maven.compiler.source>
62-
<maven.compiler.target>11</maven.compiler.target>
61+
<maven.compiler.source>21</maven.compiler.source>
62+
<maven.compiler.target>21</maven.compiler.target>
6363
<!-- The following variables are required for Jenkins CI -->
6464
<skipTests>false</skipTests>
6565
<skip.surefire.tests>${skipTests}</skip.surefire.tests>
@@ -116,7 +116,7 @@
116116
<spacesPerTab>4</spacesPerTab>
117117
</indent>
118118
<googleJavaFormat>
119-
<version>1.16.0</version>
119+
<version>1.25.2</version>
120120
<style>AOSP</style>
121121
</googleJavaFormat>
122122
<licenseHeader>
@@ -156,6 +156,9 @@
156156
<configuration>
157157
<source>${maven.compiler.source}</source>
158158
<target>${maven.compiler.target}</target>
159+
<compilerArgs>
160+
<compilerArg>-proc:full</compilerArg>
161+
</compilerArgs>
159162
</configuration>
160163
</plugin>
161164
<!-- Execute unit tests -->

0 commit comments

Comments
 (0)