Skip to content

Commit

Permalink
Drop Java 7 support
Browse files Browse the repository at this point in the history
Oracle's Premier Support for Java 7 ended in July 2019. Per gRFC P5,
dropping support for the only release. Android is able to desugar many
Java 8 language features.
  • Loading branch information
ejona86 committed Jan 18, 2022
1 parent 25531d6 commit 7cf048e
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 19 deletions.
3 changes: 0 additions & 3 deletions alts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@ plugins {

description = "gRPC: ALTS"

sourceCompatibility = 1.7
targetCompatibility = 1.7

evaluationDependsOn(project(':grpc-core').path)

dependencies {
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ subprojects {
}

plugins.withId("java") {
sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
testImplementation libraries.junit,
Expand Down
3 changes: 3 additions & 0 deletions context/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ plugins {

description = 'gRPC: Context'

sourceCompatibility = 1.7
targetCompatibility = 1.7

dependencies {
testImplementation libraries.jsr305
testImplementation (libraries.guava_testlib) {
Expand Down
4 changes: 2 additions & 2 deletions examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ repositories {
mavenLocal()
}

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

// IMPORTANT: You probably want the non-SNAPSHOT version of gRPC. Make sure you
// are looking at a tagged version of the example and not "master"!
Expand Down
4 changes: 2 additions & 2 deletions examples/example-alts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ repositories {
mavenLocal()
}

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

// IMPORTANT: You probably want the non-SNAPSHOT version of gRPC. Make sure you
// are looking at a tagged version of the example and not "master"!
Expand Down
4 changes: 2 additions & 2 deletions examples/example-gauth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ repositories {
mavenLocal()
}

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

// IMPORTANT: You probably want the non-SNAPSHOT version of gRPC. Make sure you
// are looking at a tagged version of the example and not "master"!
Expand Down
4 changes: 2 additions & 2 deletions examples/example-hostname/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ repositories {
mavenLocal()
}

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

// IMPORTANT: You probably want the non-SNAPSHOT version of gRPC. Make sure you
// are looking at a tagged version of the example and not "master"!
Expand Down
4 changes: 2 additions & 2 deletions examples/example-jwt-auth/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ repositories {
mavenLocal()
}

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

// IMPORTANT: You probably want the non-SNAPSHOT version of gRPC. Make sure you
// are looking at a tagged version of the example and not "master"!
Expand Down
4 changes: 2 additions & 2 deletions examples/example-tls/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ repositories {
mavenLocal()
}

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

// IMPORTANT: You probably want the non-SNAPSHOT version of gRPC. Make sure you
// are looking at a tagged version of the example and not "master"!
Expand Down
4 changes: 2 additions & 2 deletions examples/example-xds/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ repositories {
mavenLocal()
}

sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8

// IMPORTANT: You probably want the non-SNAPSHOT version of gRPC. Make sure you
// are looking at a tagged version of the example and not "master"!
Expand Down

0 comments on commit 7cf048e

Please sign in to comment.