Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to Guava 20 (1.11 backport) #4265

Merged
merged 1 commit into from
Mar 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ subprojects {
javaPluginPath = "$rootDir/compiler/build/exe/java_plugin/$protocPluginBaseName$exeSuffix"

nettyVersion = '4.1.22.Final'
guavaVersion = '19.0'
guavaVersion = '20.0'
protobufVersion = '3.5.1'
protocVersion = '3.5.1-1'
protobufNanoVersion = '3.0.0-alpha-5'
Expand Down Expand Up @@ -220,7 +220,7 @@ subprojects {
junit: 'junit:junit:4.12',
mockito: 'org.mockito:mockito-core:1.9.5',
truth: 'com.google.truth:truth:0.36',
guava_testlib: 'com.google.guava:guava-testlib:19.0',
guava_testlib: 'com.google.guava:guava-testlib:20.0',

// Benchmark dependencies
hdrhistogram: 'org.hdrhistogram:HdrHistogram:2.1.10',
Expand Down
4 changes: 4 additions & 0 deletions core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ dependencies {
exclude group: 'com.google.code.findbugs', module: 'jsr305'
// prefer 2.1.2 from libraries instead of 2.2.0
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
// prefer 20.0 from libraries instead of 19.0
exclude group: 'com.google.guava', module: 'guava'
// we'll always be more up-to-date
exclude group: 'io.grpc', module: 'grpc-context'
}
Expand All @@ -21,6 +23,8 @@ dependencies {
exclude group: 'io.grpc', module: 'grpc-context'
// prefer 2.1.2 from libraries instead of 2.2.0
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
// prefer 20.0 from libraries instead of 19.0
exclude group: 'com.google.guava', module: 'guava'
}

testCompile project(':grpc-context').sourceSets.test.output,
Expand Down
8 changes: 6 additions & 2 deletions protobuf/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ buildscript {
dependencies {
compile project(':grpc-core'),
libraries.protobuf,
libraries.guava,
libraries.protobuf_util
libraries.guava

compile (libraries.protobuf_util) {
// prefer 20.0 from libraries instead of 19.0
exclude group: 'com.google.guava', module: 'guava'
}

compile (libraries.google_api_protos) {
// 'com.google.api:api-common' transitively depends on auto-value, which breaks our
Expand Down
4 changes: 2 additions & 2 deletions repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def com_google_errorprone_error_prone_annotations():
def com_google_guava():
native.maven_jar(
name = "com_google_guava_guava",
artifact = "com.google.guava:guava:19.0",
sha1 = "6ce200f6b23222af3d8abb6b6459e6c44f4bb0e9",
artifact = "com.google.guava:guava:20.0",
sha1 = "89507701249388e1ed5ddcf8c41f4ce1be7831ef",
)

def com_google_protobuf():
Expand Down
2 changes: 2 additions & 0 deletions services/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ dependencies {
compile (libraries.instrumentation_api) {
// prefer 2.0.19 from libraries instead of 2.0.11
exclude group: 'com.google.errorprone', module: 'error_prone_annotations'
// prefer 20.0 from libraries instead of 19.0
exclude group: 'com.google.guava', module: 'guava'
// we'll always be more up-to-date
exclude group: 'io.grpc', module: 'grpc-context'
}
Expand Down