Skip to content

Commit c5df564

Browse files
committed
Add guava bom
1 parent ed7f6d7 commit c5df564

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ buildscript {
1313

1414
// https://github.com/grpc/grpc-java/releases
1515
grpcVersion = '1.35.0'
16+
17+
// https://github.com/google/guava/releases
18+
guavaVersion = '30.1-jre'
1619
// https://github.com/protocolbuffers/protobuf/releases
1720
protobufVersion = '3.14.0'
1821
protobufGradlePluginVersion = '0.8.12'
@@ -156,6 +159,7 @@ allprojects { project ->
156159
mavenBom "org.springframework.boot:spring-boot-starter-parent:${springBootVersion}"
157160
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
158161
mavenBom "com.google.protobuf:protobuf-bom:${protobufVersion}"
162+
mavenBom "com.google.guava:guava-bom:${guavaVersion}"
159163
mavenBom "io.grpc:grpc-bom:${grpcVersion}"
160164
mavenBom "org.junit:junit-bom:5.7.0"
161165
}

grpc-common-spring-boot/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies {
1515
api('org.springframework.boot:spring-boot-starter')
1616
optionalSupportImplementation('org.springframework.boot:spring-boot-starter-actuator')
1717
api('io.grpc:grpc-core')
18-
optionalSupportImplementation('com.google.guava:guava:30.1-jre')
18+
optionalSupportImplementation('com.google.guava:guava')
1919

2020
optionalSupportImplementation('org.springframework.cloud:spring-cloud-starter-sleuth')
2121
optionalSupportImplementation('io.zipkin.brave:brave-instrumentation-grpc')

0 commit comments

Comments
 (0)