Skip to content

Commit

Permalink
Drop support for JDK 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ato committed Aug 30, 2024
1 parent c95c861 commit 51df5d0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11, 17]
java: [11, 17, 21]

steps:
- uses: actions/checkout@v2
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ Used in production at the National Library of Australia and British Library with
Installing
----------

OutbackCDX requires [JDK 8 and 11](https://adoptopenjdk.net/) on x86-64 Linux, Windows or MacOS (other platforms would require a custom build of RocksDB JNI).
OutbackCDX requires [JDK 11](https://adoptopenjdk.net/) (or newer) on Linux, Windows or MacOS (other platforms
may be possible with a custom build of RocksDB JNI).

Pre-compiled jar packages are available from the [releases page](https://github.com/nla/outbackcdx/releases).

Expand Down
17 changes: 3 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,11 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.release>11</maven.compiler.release>
</properties>

<profiles>
<profile>
<id>release-8</id>
<activation>
<jdk>[9,)</jdk>
</activation>
<properties>
<maven.compiler.release>8</maven.compiler.release>
</properties>
</profile>
</profiles>

<build>
<sourceDirectory>${basedir}/src</sourceDirectory>
<testSourceDirectory>${basedir}/test</testSourceDirectory>
Expand Down

0 comments on commit 51df5d0

Please sign in to comment.