Skip to content

Commit f66a018

Browse files
committed
Upgrade to JDK 25
Signed-off-by: Manoel Campos <manoelcampos@gmail.com>
1 parent 0ef6df1 commit f66a018

File tree

3 files changed

+20
-5
lines changed

3 files changed

+20
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ on:
88
jobs:
99
build:
1010
runs-on: ubuntu-latest
11-
name: Java 17 Build
11+
name: Java Build
1212
steps:
1313
- uses: actions/checkout@v4
1414
- name: Setup Java
1515
uses: actions/setup-java@v4
1616
with:
1717
distribution: 'adopt'
18-
java-version: 17
18+
java-version: 25
1919
cache: 'maven'
2020
- name: Maven Build
2121
run: mvn -B package

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Set up Maven Central Repository
1212
uses: actions/setup-java@v4
1313
with:
14-
java-version: '17'
14+
java-version: '25'
1515
distribution: 'adopt'
1616
server-id: central
1717
# ~/.m2/settings.xml

pom.xml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@
4343
</issueManagement>
4444

4545
<properties>
46-
<maven.compiler.release>17</maven.compiler.release>
46+
<maven.compiler.release>25</maven.compiler.release>
47+
<lombok.version>1.18.42</lombok.version>
4748
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4849
</properties>
4950

@@ -55,6 +56,20 @@
5556
</activation>
5657
<build>
5758
<plugins>
59+
<plugin>
60+
<groupId>org.apache.maven.plugins</groupId>
61+
<artifactId>maven-compiler-plugin</artifactId>
62+
<configuration>
63+
<annotationProcessorPaths>
64+
<path>
65+
<groupId>org.projectlombok</groupId>
66+
<artifactId>lombok</artifactId>
67+
<version>${lombok.version}</version>
68+
</path>
69+
</annotationProcessorPaths>
70+
</configuration>
71+
</plugin>
72+
5873
<plugin>
5974
<groupId>org.apache.maven.plugins</groupId>
6075
<artifactId>maven-surefire-plugin</artifactId>
@@ -226,7 +241,7 @@
226241
<dependency>
227242
<groupId>org.projectlombok</groupId>
228243
<artifactId>lombok</artifactId>
229-
<version>1.18.38</version>
244+
<version>${lombok.version}</version>
230245
<scope>provided</scope>
231246
</dependency>
232247
</dependencies>

0 commit comments

Comments
 (0)