Skip to content

Commit

Permalink
Merge pull request #41 from robinst/java-11
Browse files Browse the repository at this point in the history
Require Java 11, test against 21
  • Loading branch information
robinst authored Feb 19, 2024
2 parents fa349b2 + 7ed33a5 commit 638568c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 638568c

Please sign in to comment.