Skip to content

Commit e2a0156

Browse files
Bump versions for gRPC service stubs
Signed-off-by: Finn Carroll <carrofin@amazon.com>
1 parent 00fa7ee commit e2a0156

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ tdigest = "3.3"
2626
hdrhistogram = "2.2.2"
2727

2828
# gRPC
29-
grpc = "1.68.0"
29+
grpc = "1.68.1"
3030
protobuf = "3.25.5"
3131
guava = "32.1.1-jre"
3232
jsr305 = "3.0.2"
33-
failureaccess = "1.0.2"
33+
failureaccess = "1.0.1"
3434
error_prone_annotations = "2.24.1"
3535
javax_annotations = "1.3.2"
3636
perfmark_api = "0.26.0"

server/build.gradle

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)