Skip to content

Commit

Permalink
fix java 9+ build (#11)
Browse files Browse the repository at this point in the history
that's a known issue with grpc grpc/grpc-java#3633
why is not javax.annotation-api see here grpc/grpc-java#6833
  • Loading branch information
QIvan authored Sep 12, 2020
1 parent 53a0099 commit 456f43b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def grpcVersion = '1.31.1'
def protobufVersion = '3.13.0'
def kafkaVersion = '2.6.0'
def slf4jVersion = '1.7.30'
def annotationsApiVersion = '6.0.53'

allprojects {
repositories {
Expand Down Expand Up @@ -118,6 +119,7 @@ project(':benchmarks-grpc') {
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
implementation "io.grpc:grpc-stub:${grpcVersion}"
implementation "io.grpc:grpc-netty-shaded:${grpcVersion}"
compileOnly "org.apache.tomcat:annotations-api:${annotationsApiVersion}"
}

protobuf {
Expand Down

0 comments on commit 456f43b

Please sign in to comment.