Skip to content

Require Java 11, test against 21 #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -9,15 +9,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [9, 11, 17]
java: [11, 17, 21]
steps:
- name: Checkout sources
uses: actions/checkout@v2

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'zulu'

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

- name: Set up JDK
uses: actions/setup-java@v1
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'zulu'

- name: Build with coverage
run: mvn -B -Pcoverage clean test jacoco:report
3 changes: 3 additions & 0 deletions CHANGELOG.md
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.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased]
- Require at least Java 11

## [0.11.0] - 2023-02-27
### Changed
- Modular JAR: Require at least Java 9 and add a module descriptor (module-info),
2 changes: 1 addition & 1 deletion README.md
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.
Usage
-----

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

Maven coordinates
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -38,10 +38,9 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<version>3.12.1</version>
<configuration>
<source>9</source>
<target>9</target>
<release>11</release>
</configuration>
</plugin>
<plugin>