Skip to content

Commit 7ed33a5

Browse files
committed
Require Java 11, test against 21
1 parent fa349b2 commit 7ed33a5

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

.github/workflows/ci.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,16 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
java: [9, 11, 17]
12+
java: [11, 17, 21]
1313
steps:
1414
- name: Checkout sources
1515
uses: actions/checkout@v2
1616

1717
- name: Set up JDK
18-
uses: actions/setup-java@v1
18+
uses: actions/setup-java@v4
1919
with:
2020
java-version: ${{ matrix.java }}
21+
distribution: 'zulu'
2122

2223
- name: Build
2324
run: mvn -B package
@@ -29,9 +30,10 @@ jobs:
2930
uses: actions/checkout@v2
3031

3132
- name: Set up JDK
32-
uses: actions/setup-java@v1
33+
uses: actions/setup-java@v4
3334
with:
34-
java-version: 17
35+
java-version: 21
36+
distribution: 'zulu'
3537

3638
- name: Build with coverage
3739
run: mvn -B -Pcoverage clean test jacoco:report

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
66
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
77

8+
## [Unreleased]
9+
- Require at least Java 11
10+
811
## [0.11.0] - 2023-02-27
912
### Changed
1013
- Modular JAR: Require at least Java 9 and add a module descriptor (module-info),

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Thanks to [Rinku](https://github.com/vmg/rinku) for the inspiration.
3232
Usage
3333
-----
3434

35-
This library is supported on Java 9 or later. It works on Android
35+
This library is supported on Java 11 or later. It works on Android
3636
(minimum API level 19). It has no external dependencies.
3737

3838
Maven coordinates

pom.xml

+2-3
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,9 @@
3838
<plugin>
3939
<groupId>org.apache.maven.plugins</groupId>
4040
<artifactId>maven-compiler-plugin</artifactId>
41-
<version>3.10.1</version>
41+
<version>3.12.1</version>
4242
<configuration>
43-
<source>9</source>
44-
<target>9</target>
43+
<release>11</release>
4544
</configuration>
4645
</plugin>
4746
<plugin>

0 commit comments

Comments
 (0)