aboutsummaryrefslogtreecommitdiff
path: root/protobuf-nano
diff options
context:
space:
mode:
authorJesse Wilson <jwilson@squareup.com>2018-09-20 14:43:54 -0400
committerEric Anderson <ejona@google.com>2018-09-28 13:23:55 -0700
commit8b16899bc1f4ffc22b899cea7724cf2eebd348f8 (patch)
treebbe3cff7a4faba1ce6c318ee1035921830df3c9e /protobuf-nano
parent1f006959b0863bf254495c4d627b4c9abaca41f0 (diff)
downloadgrpc-grpc-java-8b16899bc1f4ffc22b899cea7724cf2eebd348f8.tar.gz
Upgrade to Guava 26.0-android and jsr305 3.0.2
Diffstat (limited to 'protobuf-nano')
-rw-r--r--protobuf-nano/build.gradle11
1 files changed, 9 insertions, 2 deletions
diff --git a/protobuf-nano/build.gradle b/protobuf-nano/build.gradle
index dd26db4e7..aae0a7957 100644
--- a/protobuf-nano/build.gradle
+++ b/protobuf-nano/build.gradle
@@ -11,8 +11,15 @@ description = 'gRPC: Protobuf Nano'
dependencies {
compile project(':grpc-core'),
- libraries.protobuf_nano,
- libraries.guava
+ libraries.protobuf_nano
+ compile (libraries.guava) {
+ // prefer 2.2.0 from libraries instead of 2.1.3
+ exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
+ // prefer 3.0.2 from libraries instead of 3.0.1
+ exclude group: 'com.google.code.findbugs', module: 'jsr305'
+ // prefer 1.17 from libraries instead of 1.14
+ exclude group: 'org.codehaus.mojo', module: 'animal-sniffer-annotations'
+ }
signature "org.codehaus.mojo.signature:java17:1.0@signature"
signature "net.sf.androidscents.signature:android-api-level-14:4.0_r4@signature"
}