aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2018-08-27 13:31:59 -0700
committerEric Anderson <ejona@google.com>2018-08-27 15:29:03 -0700
commit7b126b00a0f02a3d244ad6065b0fdb7ffebe4115 (patch)
treed469d0ae7d22f274314a30c8e9678502e6a40963 /core
parent8d6ba2335acbb9a6e7456e5b449d029a0b6d052d (diff)
downloadgrpc-grpc-java-7b126b00a0f02a3d244ad6065b0fdb7ffebe4115.tar.gz
all: Swap to Java 7 source and bytecode
Core and OkHttp are left with Java 6 for the moment. Once we resolve their issues they could be bumped as well. Updates #3961
Diffstat (limited to 'core')
-rw-r--r--core/build.gradle6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/build.gradle b/core/build.gradle
index 700592f86..e5670e4cd 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -1,5 +1,11 @@
description = 'gRPC: Core'
+// Workaround:
+// [Undefined reference (android-api-level-14-4.0_r4)] io.grpc.internal.(Rescheduler.java:87)
+// >> Object java.util.Objects.requireNonNull(Object)
+sourceCompatibility = 1.6
+targetCompatibility = 1.6
+
dependencies {
compile project(':grpc-context'),
libraries.gson,