aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2018-07-23 14:42:39 -0700
committerEric Anderson <ejona@google.com>2018-07-23 15:53:12 -0700
commit5823fffa4c3e853d45f39dc802728fdd1559ee91 (patch)
tree7ee79665b6ce4ccecc3e3fa9d01f84e5226e3ab9 /build.gradle
parent7c83717490b8cd13216d00926123159c380da699 (diff)
downloadgrpc-grpc-java-5823fffa4c3e853d45f39dc802728fdd1559ee91.tar.gz
Upgrade to Truth 0.42
Truth 0.42 brings in some Java 8 bytecode, but they are only in annotations. So we remove them for gae-java7, otherwise they cause the build to fail with messages like: > Unable to stage app: Class file is Java 8 but max supported is Java 7: com/google/auto/value/extension/memoized/Memoized.class in /usr/local/google/home/ejona/clients/grpc-java/gae-interop-testing/gae-jdk7/build/exploded-grpc-gae-interop-testing-jdk7/WEB-INF/lib/auto-value-annotations-1.6.2.jar > Unable to stage app: Class file is Java 8 but max supported is Java 7: org/checkerframework/dataflow/qual/Pure$Kind.class in /tmpfs/src/github/grpc-java/gae-interop-testing/gae-jdk7/build/exploded-grpc-gae-interop-testing-jdk7/WEB-INF/lib/checker-qual-2.5.3.jar I manually tested the interop client with Java 7 and it ran without issue. This fixes the issues experienced with Truth 0.42 before in #4664. Related: google/truth#479
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index d2091f0e3..ce82f6a2b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -229,7 +229,7 @@ subprojects {
// Test dependencies.
junit: 'junit:junit:4.12',
mockito: 'org.mockito:mockito-core:1.9.5',
- truth: 'com.google.truth:truth:0.41',
+ truth: 'com.google.truth:truth:0.42',
guava_testlib: 'com.google.guava:guava-testlib:20.0',
// Benchmark dependencies