aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2022-01-18 07:17:51 -0800
committerGitHub <noreply@github.com>2022-01-18 07:17:51 -0800
commit7cf048eb28ef36842552040a4375caaebd45dd08 (patch)
tree00d1b654cb30181fefcece6f7905fead482bc71b
parent25531d6257b7a81505b4dd856b8ae5a14555b61a (diff)
downloadgrpc-grpc-java-7cf048eb28ef36842552040a4375caaebd45dd08.tar.gz
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.
-rw-r--r--alts/build.gradle3
-rw-r--r--build.gradle4
-rw-r--r--context/build.gradle3
-rw-r--r--examples/build.gradle4
-rw-r--r--examples/example-alts/build.gradle4
-rw-r--r--examples/example-gauth/build.gradle4
-rw-r--r--examples/example-hostname/build.gradle4
-rw-r--r--examples/example-jwt-auth/build.gradle4
-rw-r--r--examples/example-tls/build.gradle4
-rw-r--r--examples/example-xds/build.gradle4
10 files changed, 19 insertions, 19 deletions
diff --git a/alts/build.gradle b/alts/build.gradle
index 8c467f51c..25e8b1602 100644
--- a/alts/build.gradle
+++ b/alts/build.gradle
@@ -9,9 +9,6 @@ plugins {
description = "gRPC: ALTS"
-sourceCompatibility = 1.7
-targetCompatibility = 1.7
-
evaluationDependsOn(project(':grpc-core').path)
dependencies {
diff --git a/build.gradle b/build.gradle
index e569c96a0..4447ae1fd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -252,8 +252,8 @@ subprojects {
}
plugins.withId("java") {
- sourceCompatibility = 1.7
- targetCompatibility = 1.7
+ sourceCompatibility = 1.8
+ targetCompatibility = 1.8
dependencies {
testImplementation libraries.junit,
diff --git a/context/build.gradle b/context/build.gradle
index 35ad0566b..ba530df54 100644
--- a/context/build.gradle
+++ b/context/build.gradle
@@ -9,6 +9,9 @@ plugins {
description = 'gRPC: Context'
+sourceCompatibility = 1.7
+targetCompatibility = 1.7
+
dependencies {
testImplementation libraries.jsr305
testImplementation (libraries.guava_testlib) {
diff --git a/examples/build.gradle b/examples/build.gradle
index 250269a36..8a5599f0a 100644
--- a/examples/build.gradle
+++ b/examples/build.gradle
@@ -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"!
diff --git a/examples/example-alts/build.gradle b/examples/example-alts/build.gradle
index 96ac66d48..b29c159e5 100644
--- a/examples/example-alts/build.gradle
+++ b/examples/example-alts/build.gradle
@@ -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"!
diff --git a/examples/example-gauth/build.gradle b/examples/example-gauth/build.gradle
index a4cd2b2fc..40bf8968b 100644
--- a/examples/example-gauth/build.gradle
+++ b/examples/example-gauth/build.gradle
@@ -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"!
diff --git a/examples/example-hostname/build.gradle b/examples/example-hostname/build.gradle
index 288cb9585..abf4a4e5a 100644
--- a/examples/example-hostname/build.gradle
+++ b/examples/example-hostname/build.gradle
@@ -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"!
diff --git a/examples/example-jwt-auth/build.gradle b/examples/example-jwt-auth/build.gradle
index 5b26c85f0..1e4acd3de 100644
--- a/examples/example-jwt-auth/build.gradle
+++ b/examples/example-jwt-auth/build.gradle
@@ -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"!
diff --git a/examples/example-tls/build.gradle b/examples/example-tls/build.gradle
index 4d126452f..2eddaf6af 100644
--- a/examples/example-tls/build.gradle
+++ b/examples/example-tls/build.gradle
@@ -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"!
diff --git a/examples/example-xds/build.gradle b/examples/example-xds/build.gradle
index 6b90a913c..56fef5ef1 100644
--- a/examples/example-xds/build.gradle
+++ b/examples/example-xds/build.gradle
@@ -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"!