File tree 1 file changed +12
-6
lines changed
1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,14 @@ repositories {
15
15
mavenCentral()
16
16
}
17
17
18
+ ext {
19
+ protoVersion = ' 3.20.0'
20
+ grpcVersion = ' 1.45.1'
21
+ }
22
+
18
23
protobuf {
19
24
protoc {
20
- artifact = " com.google.protobuf:protoc:3.19.2 "
25
+ artifact = " com.google.protobuf:protoc:$p rotoVersion "
21
26
}
22
27
plugins {
23
28
grpc {
@@ -35,17 +40,18 @@ sourceSets.main.java.srcDir new File(buildDir, 'generated/source')
35
40
36
41
dependencies {
37
42
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:$g rpcVersion "
44
+ implementation " io.grpc:grpc-protobuf:$g rpcVersion "
45
+ implementation " io.grpc:grpc-stub:$g rpcVersion "
46
+ implementation " io.grpc:grpc-services:$g rpcVersion "
42
47
compileOnly ' org.apache.tomcat:annotations-api:6.0.53'
48
+ implementation ' com.google.protobuf:protobuf-java-util:3.20.0'
43
49
44
50
implementation ' org.mongodb:mongodb-driver-sync:4.5.1'
45
51
46
52
testImplementation ' org.junit.jupiter:junit-jupiter-api:5.8.2'
47
53
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 '
49
55
}
50
56
51
57
test {
You can’t perform that action at this time.
0 commit comments