diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1da3f6e79201..307f1edb80e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: name: "${{ matrix.root-pom }} on JDK ${{ matrix.java }}" strategy: matrix: - java: [ 8, 11 ] + java: [ 8, 11, 17 ] root-pom: [ 'pom.xml', 'android/pom.xml' ] runs-on: ubuntu-latest env: diff --git a/android/pom.xml b/android/pom.xml index bdeb5c35fa58..04fabfe0edbb 100644 --- a/android/pom.xml +++ b/android/pom.xml @@ -113,6 +113,9 @@ maven-javadoc-plugin ${maven-javadoc-plugin.version} + + ${java.specification.version} + @@ -408,17 +411,17 @@ - javadocs-jdk9-12 + javadocs-jdk11-12 - [9,13) + [11,13) --no-module-directories @@ -485,9 +488,13 @@ - new-enough-for-error-prone + run-error-prone - [9,) + + [11,12),[16,) diff --git a/pom.xml b/pom.xml index ab84d3f8cd39..79f27b2bbd7a 100644 --- a/pom.xml +++ b/pom.xml @@ -114,6 +114,9 @@ maven-javadoc-plugin ${maven-javadoc-plugin.version} + + ${java.specification.version} + @@ -415,17 +418,17 @@ - javadocs-jdk9-12 + javadocs-jdk11-12 - [9,13) + [11,13) --no-module-directories @@ -492,9 +495,13 @@ - new-enough-for-error-prone + run-error-prone - [9,) + + [11,12),[16,)