File tree Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Expand file tree Collapse file tree 4 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
66and 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),
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ Thanks to [Rinku](https://github.com/vmg/rinku) for the inspiration.
3232Usage
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
3838Maven coordinates
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments