Drop Java 7 support

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.
This commit is contained in:
Eric Anderson 2022-01-18 07:17:51 -08:00 committed by GitHub
parent 25531d6257
commit 7cf048eb28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 19 additions and 19 deletions

View File

@ -9,9 +9,6 @@ plugins {
description = "gRPC: ALTS"
sourceCompatibility = 1.7
targetCompatibility = 1.7
evaluationDependsOn(project(':grpc-core').path)
dependencies {

View File

@ -252,8 +252,8 @@ subprojects {
}
plugins.withId("java") {
sourceCompatibility = 1.7
targetCompatibility = 1.7
sourceCompatibility = 1.8
targetCompatibility = 1.8
dependencies {
testImplementation libraries.junit,

View File

@ -9,6 +9,9 @@ plugins {
description = 'gRPC: Context'
sourceCompatibility = 1.7
targetCompatibility = 1.7
dependencies {
testImplementation libraries.jsr305
testImplementation (libraries.guava_testlib) {

View File

@ -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"!

View File

@ -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"!

View File

@ -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"!

View File

@ -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"!

View File

@ -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"!

View File

@ -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"!

View File

@ -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"!