@@ -57,7 +57,7 @@ protobuf {
5757 }
5858 plugins {
5959 grpc {
60- artifact = ' io.grpc:protoc-gen-grpc-java:1.14.0 '
60+ artifact = ' io.grpc:protoc-gen-grpc-java:1.16.1 '
6161 }
6262 }
6363 generateProtoTasks {
@@ -124,14 +124,14 @@ dependencies {
124124 compile ([group : ' com.google.guava' , name : ' guava' , version : ' 20.0' ])
125125 compile ([group : ' com.google.code.gson' , name : ' gson' , version : ' 2.8.2' ])
126126 compile ([group : ' com.google.protobuf' , name :' protobuf-java' , version :' 3.6.1' ])
127- compile ([group : ' io.grpc' , name : ' grpc-stub' , version : ' 1.14.0 ' ])
128- compile ([group : ' io.grpc' , name : ' grpc-protobuf' , version : ' 1.14.0 ' ])
129- runtime ([group : ' io.grpc' , name : ' grpc-netty-shaded' , version : ' 1.14.0 ' ])
127+ compile ([group : ' io.grpc' , name : ' grpc-stub' , version : ' 1.16.1 ' ])
128+ compile ([group : ' io.grpc' , name : ' grpc-protobuf' , version : ' 1.16.1 ' ])
129+ runtime ([group : ' io.grpc' , name : ' grpc-netty-shaded' , version : ' 1.16.1 ' ])
130130 testCompile group :' org.hamcrest' , name :' hamcrest-library' , version :' 1.3'
131131 testCompile group : ' junit' , name : ' junit' , version : ' 4.12'
132132 testCompile group : ' org.mockito' , name : ' mockito-core' , version : ' 1.10.19'
133133 testCompile group : ' com.google.code.gson' , name : ' gson' , version : ' 2.8.2'
134- testCompile group : ' io.grpc' , name :' grpc-testing' , version :' 1.14.0 '
134+ testCompile group : ' io.grpc' , name :' grpc-testing' , version :' 1.16.1 '
135135}
136136
137137ext. dependenciesPrefix = ' com.microsoft.applicationinsights.core.dependencies'
@@ -145,6 +145,8 @@ shadowJar {
145145 relocate ' com.google' , " ${ dependenciesPrefix} .google"
146146 relocate ' io.grpc' , " ${ dependenciesPrefix} .io.grpc"
147147 relocate ' io.opencensus' , " ${ dependenciesPrefix} .io.opencensus"
148+ relocate ' org.codehaus' , " ${ dependenciesPrefix} .codehaus"
149+ relocate ' org.checkerframework' , " ${ dependenciesPrefix} .checkerframework"
148150
149151 exclude ' **/*.proto'
150152}
0 commit comments