diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c9098f4..e830dc0 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -9,6 +9,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: + # Nota Bene: Even though the project (currently) targets Java 8 API level, + # we cannot build it under Java 8 anymore, because Error Prone (which we use) + # must be run on JDK 11 or newer (but we can and are still using + # source/target/release 8 instead 11 in the pom.xml). java: [ '11', '17', '21' ] name: Java ${{ matrix.Java }} CI steps: diff --git a/pom.xml b/pom.xml index 689881a..537593b 100644 --- a/pom.xml +++ b/pom.xml @@ -57,11 +57,13 @@ 3.13.0 - 11 + 8 + 8 + 8 true -Werror - -Xlint:all + -Xlint:all,-options -XDcompilePolicy=simple -Xplugin:ErrorProne -XepAllDisabledChecksAsWarnings -Xep:BooleanParameter:OFF -Xep:AndroidJdkLibsChecker:OFF