Skip to content

Commit 7cdfbe4

Browse files
Merge pull request #323 from gradle/tb/jdk-21
Update workflows to build with JDK 21
2 parents c68f15e + f1c042f commit 7cdfbe4

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/build-verification.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v5
12-
- name: Set up JDK 8
12+
- name: Set up JDK 21
1313
uses: actions/setup-java@v5
1414
with:
15-
java-version: '8'
15+
java-version: '21'
1616
distribution: 'temurin'
1717
- name: Build and publish to Maven Local with Maven
1818
run: ./mvnw clean install -B
@@ -31,10 +31,10 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v5
34-
- name: Set up JDK 8
34+
- name: Set up JDK 21
3535
uses: actions/setup-java@v5
3636
with:
37-
java-version: '8'
37+
java-version: '21'
3838
distribution: 'temurin'
3939
- name: Download plugin to maven local
4040
uses: actions/download-artifact@v5

pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@
9393
<artifactId>maven-compiler-plugin</artifactId>
9494
<version>3.14.1</version>
9595
<configuration>
96-
<source>1.8</source>
97-
<target>1.8</target>
96+
<release>8</release>
9897
<annotationProcessorPaths>
9998
<path>
10099
<groupId>org.eclipse.sisu</groupId>

0 commit comments

Comments
 (0)