Skip to content

Commit 096028e

Browse files
committed
Issue #37: updated project to jdk 17
1 parent cb642ab commit 096028e

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
restore-keys: |
2525
${{ runner.os }}-maven-
2626
27-
- name: Set up JDK 11
27+
- name: Set up JDK 17
2828
uses: actions/setup-java@v4
2929
with:
30-
java-version: '11'
30+
java-version: '17'
3131
distribution: 'corretto'
3232

3333
- name: Build with Maven

config/checkstyle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ checkstyle.header.file=config/header.txt
44
checkstyle.regexp.header.file=config/regexp-header.txt
55
checkstyle.importcontrol.file=config/import-control.xml
66
checkstyle.importcontroltest.file=config/import-control-test.xml
7-
checkstyle.java.version=11
7+
checkstyle.java.version=17

pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
<url>https://github.com/checkstyle/checkstyle-openrewrite-recipes</url>
1616

1717
<properties>
18-
<maven.compiler.source>11</maven.compiler.source>
19-
<maven.compiler.target>11</maven.compiler.target>
18+
<maven.compiler.source>17</maven.compiler.source>
19+
<maven.compiler.target>17</maven.compiler.target>
2020
<maven.compiler.plugin>3.11.0</maven.compiler.plugin>
2121
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2222

@@ -28,7 +28,7 @@
2828

2929
<!-- Checkstyle properties -->
3030
<maven.checkstyle.plugin.version>3.6.0</maven.checkstyle.plugin.version>
31-
<checkstyle.version>10.25.0</checkstyle.version>
31+
<checkstyle.version>10.26.1</checkstyle.version>
3232
</properties>
3333

3434
<dependencyManagement>
@@ -60,7 +60,7 @@
6060
</dependency>
6161
<dependency>
6262
<groupId>org.openrewrite</groupId>
63-
<artifactId>rewrite-java-11</artifactId>
63+
<artifactId>rewrite-java-17</artifactId>
6464
<version>${rewrite.version}</version>
6565
</dependency>
6666

0 commit comments

Comments
 (0)