Skip to content

Commit

Permalink
(Re)set minimal Java version to (again) be 8 instead of 11 (fixes #142)
Browse files Browse the repository at this point in the history
  • Loading branch information
vorburger committed Jun 16, 2024
1 parent aa22c5e commit a9d355d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven.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: [ '11', '17', '21' ]
java: [ '8', '11', '17', '21' ]
name: Java ${{ matrix.Java }} CI
steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 4 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,13 @@
<version>3.13.0</version>
<configuration>
<!-- Keep the Java version aligned with .github/workflows/maven.yml -->
<release>11</release>
<source>8</source>
<target>8</target>
<release>8</release>
<showWarnings>true</showWarnings>
<compilerArgs>
<arg>-Werror</arg>
<arg>-Xlint:all</arg>
<arg>-Xlint:all,-options</arg>
<arg>-XDcompilePolicy=simple</arg>
<arg>-Xplugin:ErrorProne -XepAllDisabledChecksAsWarnings
-Xep:BooleanParameter:OFF -Xep:AndroidJdkLibsChecker:OFF
Expand Down

0 comments on commit a9d355d

Please sign in to comment.