File tree Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Expand file tree Collapse file tree 2 files changed +19
-5
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,11 @@ tdigest = "3.3"
2626hdrhistogram = " 2.2.2"
2727
2828# gRPC
29- grpc = " 1.68.0 "
29+ grpc = " 1.68.1 "
3030protobuf = " 3.25.5"
3131guava = " 32.1.1-jre"
3232jsr305 = " 3.0.2"
33- failureaccess = " 1.0.2 "
33+ failureaccess = " 1.0.1 "
3434error_prone_annotations = " 2.24.1"
3535javax_annotations = " 1.3.2"
3636perfmark_api = " 0.26.0"
Original file line number Diff line number Diff line change @@ -124,8 +124,15 @@ dependencies {
124124
125125 // protobuf
126126 api " com.google.protobuf:protobuf-java:${ versions.protobuf} "
127+ api " com.google.protobuf:protobuf-java-util:${ versions.protobuf} "
127128 api " jakarta.annotation:jakarta.annotation-api:${ versions.jakarta_annotation} "
128129
130+ // gRPC
131+ api " io.grpc:grpc-stub:${ versions.grpc} "
132+ api " io.grpc:grpc-protobuf:${ versions.grpc} "
133+ api " io.grpc:grpc-core:${ versions.grpc} "
134+ api " io.grpc:grpc-api:${ versions.grpc} "
135+
129136 // https://mvnrepository.com/artifact/org.roaringbitmap/RoaringBitmap
130137 implementation ' org.roaringbitmap:RoaringBitmap:1.3.0'
131138
@@ -224,12 +231,19 @@ protobuf {
224231 artifact = " com.google.protobuf:protoc:${ versions.protobuf} "
225232 }
226233
234+ plugins {
235+ grpc {
236+ artifact = " io.grpc:protoc-gen-grpc-java:${ versions.grpc} "
237+ }
238+ }
239+
227240 generateProtoTasks {
228241 all(). each { task ->
229242 task. builtins {
230- java {
231- option " annotate_code"
232- }
243+ java {}
244+ }
245+ task. plugins {
246+ grpc {}
233247 }
234248 }
235249 }
You can’t perform that action at this time.
0 commit comments