Update grpc, netty and jwt-jose dependencies

Signed-off-by: Max Lambrecht <maxlambrecht@gmail.com>
This commit is contained in:
Max Lambrecht 2020-06-09 14:01:07 -03:00
parent cccc243829
commit 91eb49bd8e
3 changed files with 12 additions and 9 deletions

View File

@ -14,9 +14,9 @@ buildscript {
} }
ext { ext {
grpcVersion = '1.29.0' grpcVersion = '1.30.0'
nettyVersion = '4.1.49.Final' nettyVersion = '4.1.50.Final'
protobufProtocVersion = '3.11.4' protobufProtocVersion = '3.12.0'
} }
apply plugin: 'com.google.protobuf' apply plugin: 'com.google.protobuf'
@ -57,7 +57,7 @@ dependencies {
compileOnly group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2' compileOnly group: 'javax.annotation', name: 'javax.annotation-api', version: '1.3.2'
// library for processing JWT tokens and JOSE JWK bundles // library for processing JWT tokens and JOSE JWK bundles
implementation group: 'com.nimbusds', name: 'nimbus-jose-jwt', version: '8.17' implementation group: 'com.nimbusds', name: 'nimbus-jose-jwt', version: '8.19'
// using bouncy castle for generating x509 certs for testing purposes // using bouncy castle for generating x509 certs for testing purposes
testImplementation group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.65' testImplementation group: 'org.bouncycastle', name: 'bcpkix-jdk15on', version: '1.65'

View File

@ -19,13 +19,17 @@ shadowJar {
classifier = "" classifier = ""
} }
ext {
grpcVersion = '1.30.0'
}
dependencies { dependencies {
api (project(':java-spiffe-core')) api (project(':java-spiffe-core'))
implementation group: 'commons-cli', name: 'commons-cli', version: '1.4' implementation group: 'commons-cli', name: 'commons-cli', version: '1.4'
// pull grpc libraries for testing // pull grpc libraries for testing
testImplementation group: 'io.grpc', name: 'grpc-netty', version: "1.29.0" testImplementation group: 'io.grpc', name: 'grpc-netty', version: "${grpcVersion}"
testImplementation group: 'io.grpc', name: 'grpc-protobuf', version: "1.29.0" testImplementation group: 'io.grpc', name: 'grpc-protobuf', version: "${grpcVersion}"
testImplementation group: 'io.grpc', name: 'grpc-stub', version: "1.29.0" testImplementation group: 'io.grpc', name: 'grpc-stub', version: "${grpcVersion}"
testImplementation group: 'io.grpc', name: 'grpc-testing', version: "1.29.0" testImplementation group: 'io.grpc', name: 'grpc-testing', version: "${grpcVersion}"
} }

View File

@ -12,4 +12,3 @@ assemble.dependsOn shadowJar
dependencies { dependencies {
api(project(":java-spiffe-core")) api(project(":java-spiffe-core"))
} }