diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e765291f6..eb09f08c6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: strategy: matrix: - java-version: [7, 8, 11] + java-version: [8, 11, 17] steps: - uses: actions/checkout@v1 diff --git a/README.md b/README.md index c190e7713..1ad5352e5 100644 --- a/README.md +++ b/README.md @@ -46,11 +46,21 @@ requests, code review feedback, and also pull requests. ## Supported Java Versions -We currently support Java 7 and higher. However, Java 7 support is deprecated. -We strongly encourage you to use Java 8 or higher as we will drop support for -Java 7 in the next major version. Firebase Admin Java SDK also runs on [Google App +We currently support Java 8 and higher. The Firebase Admin Java SDK also runs on [Google App Engine](https://cloud.google.com/appengine/). +The Firebase Admin Java SDK follows the [Oracle Java SE +support roadmap](https://www.oracle.com/java/technologies/java-se-support-roadmap.html) +(see the Oracle Java SE Product Releases section). + +### For new development + +In general, new feature development occurs with support for the lowest Java LTS version +covered by Oracle's Premier Support (which typically lasts 5 years from initial General +Availability). If the minimum required JVM for a given library is changed, it is +accompanied by a [semver](https://semver.org/) major release. + +Java 11 and Java 17 are the best choices for new development. ## Documentation diff --git a/pom.xml b/pom.xml index aac0d4203..ffc9d1cd5 100644 --- a/pom.xml +++ b/pom.xml @@ -270,7 +270,7 @@ maven-compiler-plugin - 3.8.1 + 3.10.1 1.7 1.7 @@ -352,7 +352,7 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.8 + 1.6.13 true ossrh @@ -385,14 +385,14 @@ com.google.cloud libraries-bom - 20.9.0 + 25.4.0 pom import com.google.api-client google-api-client-bom - 1.34.1 + 1.35.0 pom import @@ -460,7 +460,7 @@ org.mockito mockito-core - 2.28.2 + 4.6.1 test