Skip to content

Commit

Permalink
Bump versions for gRPC service stubs
Browse files Browse the repository at this point in the history
Signed-off-by: Finn Carroll <[email protected]>
  • Loading branch information
finnegancarroll committed Nov 12, 2024
1 parent 00fa7ee commit e2a0156
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 5 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ tdigest = "3.3"
hdrhistogram = "2.2.2"

# gRPC
grpc = "1.68.0"
grpc = "1.68.1"
protobuf = "3.25.5"
guava = "32.1.1-jre"
jsr305 = "3.0.2"
failureaccess = "1.0.2"
failureaccess = "1.0.1"
error_prone_annotations = "2.24.1"
javax_annotations = "1.3.2"
perfmark_api = "0.26.0"
Expand Down
20 changes: 17 additions & 3 deletions server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,15 @@ dependencies {

// protobuf
api "com.google.protobuf:protobuf-java:${versions.protobuf}"
api "com.google.protobuf:protobuf-java-util:${versions.protobuf}"
api "jakarta.annotation:jakarta.annotation-api:${versions.jakarta_annotation}"

// gRPC
api "io.grpc:grpc-stub:${versions.grpc}"
api "io.grpc:grpc-protobuf:${versions.grpc}"
api "io.grpc:grpc-core:${versions.grpc}"
api "io.grpc:grpc-api:${versions.grpc}"

// https://mvnrepository.com/artifact/org.roaringbitmap/RoaringBitmap
implementation 'org.roaringbitmap:RoaringBitmap:1.3.0'

Expand Down Expand Up @@ -224,12 +231,19 @@ protobuf {
artifact = "com.google.protobuf:protoc:${versions.protobuf}"
}

plugins {
grpc {
artifact = "io.grpc:protoc-gen-grpc-java:${versions.grpc}"
}
}

generateProtoTasks {
all().each { task ->
task.builtins {
java {
option "annotate_code"
}
java {}
}
task.plugins {
grpc {}
}
}
}
Expand Down

0 comments on commit e2a0156

Please sign in to comment.