Skip to content

Commit

Permalink
change: Drop support for Java 7
Browse files Browse the repository at this point in the history
  • Loading branch information
lahirumaramba committed Jun 8, 2022
1 parent 078ec13 commit d470cb1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

strategy:
matrix:
java-version: [7, 8, 11]
java-version: [8, 11, 17]

steps:
- uses: actions/checkout@v1
Expand Down
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. 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

Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
<!-- Compile Phase -->
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<version>3.10.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
Expand Down Expand Up @@ -352,7 +352,7 @@
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.8</version>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
Expand Down Expand Up @@ -385,7 +385,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>20.9.0</version>
<version>25.4.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -460,7 +460,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.28.2</version>
<version>4.6.1</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit d470cb1

Please sign in to comment.