Skip to content

Commit

Permalink
Raise minimum version to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
robinst committed Feb 10, 2024
1 parent 2cfe732 commit 5311b9b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 17, 21]
java: [11, 17, 21]
steps:
- name: Checkout sources
uses: actions/checkout@v2
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: 8
java-version: 11
distribution: 'zulu'

- name: Build with coverage
Expand All @@ -50,7 +50,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v2
with:
java-version: 8
java-version: 11
distribution: 'zulu'

- name: Android Lint checks
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ full library with a nice API and the following features:
* Flexible (manipulate the AST after parsing, customize HTML rendering)
* Extensible (tables, strikethrough, autolinking and more, see below)

The library is supported on Java 8 or later. It should work on Java 7
and Android too, but that is on a best-effort basis, please report
problems. For Android the minimum API level is 19, see the
The library is supported on Java 11 and later. It should work on Android too,
but that is on a best-effort basis, please report problems. For Android the
minimum API level is 19, see the
[commonmark-android-test](commonmark-android-test) directory.

Coordinates for core library (see all on [Maven Central]):
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>7</source>
<target>7</target>
<release>11</release>
</configuration>
</plugin>
<plugin>
Expand Down

0 comments on commit 5311b9b

Please sign in to comment.