Skip to content

Commit

Permalink
examples: Fixing the build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodhabib committed Feb 4, 2025
1 parent fbdc1bf commit 5da8376
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,16 @@ def grpcVersion = '1.71.0-SNAPSHOT' // CURRENT_GRPC_VERSION
def protobufVersion = '3.25.5'
def protocVersion = protobufVersion

dependencies {
compileOnly "org.apache.tomcat:annotations-api:6.0.53"
runtimeOnly "io.grpc:grpc-netty-shaded:${grpcVersion}"
}

dependencies {
constraints {
api "io.grpc:grpc-protobuf:${grpcVersion}"
api "io.grpc:grpc-services:${grpcVersion}"
api "io.grpc:grpc-stub:${grpcVersion}"
api "io.grpc:grpc-netty-shaded:${grpcVersion}"
api "io.grpc:grpc-inprocess:${grpcVersion}"
// examples/advanced need this for JsonFormat
api "com.google.protobuf:protobuf-java-util:${protobufVersion}"
api "org.apache.tomcat:annotations-api:6.0.53"

api "io.grpc:grpc-testing:${grpcVersion}"
api "junit:junit:4.13.2"
Expand Down

0 comments on commit 5da8376

Please sign in to comment.