diff --git a/alts/build.gradle b/alts/build.gradle index 8c467f51c1..25e8b16024 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 e569c96a0c..4447ae1fdf 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 35ad0566bb..ba530df54f 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 250269a36e..8a5599f0a6 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 96ac66d485..b29c159e57 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 a4cd2b2fc1..40bf8968b7 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 288cb9585f..abf4a4e5af 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 5b26c85f0d..1e4acd3deb 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 4d126452f4..2eddaf6afb 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 6b90a913c6..56fef5ef12 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"!