aboutsummaryrefslogtreecommitdiff
path: root/core
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 /core
parent1f006959b0863bf254495c4d627b4c9abaca41f0 (diff)
downloadgrpc-grpc-java-8b16899bc1f4ffc22b899cea7724cf2eebd348f8.tar.gz
Upgrade to Guava 26.0-android and jsr305 3.0.2
Diffstat (limited to 'core')
-rw-r--r--core/build.gradle13
1 files changed, 10 insertions, 3 deletions
diff --git a/core/build.gradle b/core/build.gradle
index 700592f86..4a2429098 100644
--- a/core/build.gradle
+++ b/core/build.gradle
@@ -3,12 +3,19 @@ description = 'gRPC: Core'
dependencies {
compile project(':grpc-context'),
libraries.gson,
- libraries.guava,
libraries.errorprone,
libraries.jsr305,
libraries.animalsniffer_annotations
+ 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'
+ }
compile (libraries.opencensus_api) {
- // prefer 3.0.0 from libraries instead of 3.0.1
+ // prefer 3.0.2 from libraries instead of 3.0.1
exclude group: 'com.google.code.findbugs', module: 'jsr305'
// prefer 20.0 from libraries instead of 19.0
exclude group: 'com.google.guava', module: 'guava'
@@ -16,7 +23,7 @@ dependencies {
exclude group: 'io.grpc', module: 'grpc-context'
}
compile (libraries.opencensus_contrib_grpc_metrics) {
- // prefer 3.0.0 from libraries instead of 3.0.1
+ // prefer 3.0.2 from libraries instead of 3.0.1
exclude group: 'com.google.code.findbugs', module: 'jsr305'
// we'll always be more up-to-date
exclude group: 'io.grpc', module: 'grpc-context'