Skip to content

Commit bcb4156

Browse files
committed
Bump gRPC version
1 parent 9c4e1cc commit bcb4156

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

build.gradle

+12-6
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,14 @@ repositories {
1515
mavenCentral()
1616
}
1717

18+
ext {
19+
protoVersion = '3.20.0'
20+
grpcVersion = '1.45.1'
21+
}
22+
1823
protobuf {
1924
protoc {
20-
artifact = "com.google.protobuf:protoc:3.19.2"
25+
artifact = "com.google.protobuf:protoc:$protoVersion"
2126
}
2227
plugins {
2328
grpc {
@@ -35,17 +40,18 @@ sourceSets.main.java.srcDir new File(buildDir, 'generated/source')
3540

3641
dependencies {
3742
implementation 'junit:junit:4.13.2'
38-
runtimeOnly 'io.grpc:grpc-netty-shaded:1.45.0'
39-
implementation 'io.grpc:grpc-protobuf:1.45.0'
40-
implementation 'io.grpc:grpc-stub:1.45.0'
41-
implementation 'io.grpc:grpc-services:1.45.0'
43+
runtimeOnly "io.grpc:grpc-netty-shaded:$grpcVersion"
44+
implementation "io.grpc:grpc-protobuf:$grpcVersion"
45+
implementation "io.grpc:grpc-stub:$grpcVersion"
46+
implementation "io.grpc:grpc-services:$grpcVersion"
4247
compileOnly 'org.apache.tomcat:annotations-api:6.0.53'
48+
implementation 'com.google.protobuf:protobuf-java-util:3.20.0'
4349

4450
implementation 'org.mongodb:mongodb-driver-sync:4.5.1'
4551

4652
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.8.2'
4753
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.8.2'
48-
testImplementation 'org.mockito:mockito-core:4.3.1'
54+
testImplementation 'org.mockito:mockito-core:4.4.0'
4955
}
5056

5157
test {

0 commit comments

Comments
 (0)