Skip to content

Commit a279ea2

Browse files
authored
Bump minimum version of Java to 17 (#1088)
In preparation for Jackson 3 upgrade, bump the minimum version of Java to 17. Bump major version Bump checkstyle to 12.0.0 Add Java 25 to build matrix
1 parent c2a913a commit a279ea2

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
java: [ '11', '17', '21' ]
14+
java: [ '17', '21', '25' ]
1515
steps:
1616
- name: Checkout Code
1717
uses: actions/checkout@v3
@@ -68,7 +68,7 @@ jobs:
6868
uses: actions/setup-java@v3
6969
with:
7070
distribution: "temurin"
71-
java-version: 21
71+
java-version: 25
7272

7373
- name: Setup GPG
7474
run: .github/workflows/steps/setup-gpg.sh

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ For example, to ensure that maven doesn't pick different versions of logback-cor
167167

168168
| logstash-logback-encoder | Minimum Java Version supported |
169169
|--------------------------|--------------------------------|
170+
| 9.x | 17 |
170171
| 8.x | 11 |
171172
| 7.x | 8 |
172173
| 6.x | 8 |

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>net.logstash.logback</groupId>
66
<artifactId>logstash-logback-encoder</artifactId>
7-
<version>8.2-SNAPSHOT</version>
7+
<version>9.0-SNAPSHOT</version>
88

99
<name>Logstash Logback Encoder</name>
1010
<description>Provides logback encoders, layouts, and appenders to log in JSON and other formats supported by Jackson</description>
@@ -19,7 +19,7 @@
1919
</scm>
2020

2121
<properties>
22-
<java.version>11</java.version>
22+
<java.version>17</java.version>
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424

2525
<!-- runtime dependencies -->
@@ -59,7 +59,7 @@
5959
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
6060
<xml-maven-plugin.version>1.1.0</xml-maven-plugin.version>
6161

62-
<checkstyle.version>10.23.0</checkstyle.version>
62+
<checkstyle.version>12.0.0</checkstyle.version>
6363

6464
<!-- maven-javadoc-plugin configuration -->
6565
<maven.javadoc.failOnError>true</maven.javadoc.failOnError>

0 commit comments

Comments
 (0)