From c436561fc5bbff1f7a530c76f5b3177aafaf39e1 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Fri, 30 Jun 2017 15:25:34 -0700 Subject: [PATCH] all: Use fixed version number for java 6/7 signatures This is important for stable builds, as if the signature changes the old source may no longer validate. --- auth/build.gradle | 2 +- context/build.gradle | 2 +- core/build.gradle | 2 +- netty/build.gradle | 2 +- okhttp/build.gradle | 2 +- protobuf-lite/build.gradle | 2 +- protobuf-nano/build.gradle | 2 +- protobuf/build.gradle | 2 +- services/build.gradle | 2 +- stub/build.gradle | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/auth/build.gradle b/auth/build.gradle index 7b9e65f63c..af50c28dd0 100644 --- a/auth/build.gradle +++ b/auth/build.gradle @@ -3,5 +3,5 @@ dependencies { compile project(':grpc-core'), libraries.google_auth_credentials testCompile libraries.oauth_client - signature "org.codehaus.mojo.signature:java16:+@signature" + signature "org.codehaus.mojo.signature:java16:1.1@signature" } diff --git a/context/build.gradle b/context/build.gradle index 3532760a37..ed3a8d3b2f 100644 --- a/context/build.gradle +++ b/context/build.gradle @@ -2,5 +2,5 @@ description = 'gRPC: Context' dependencies { testCompile project(':grpc-testing') - signature "org.codehaus.mojo.signature:java16:+@signature" + signature "org.codehaus.mojo.signature:java16:1.1@signature" } diff --git a/core/build.gradle b/core/build.gradle index 28d17a7e4f..5bb1ac7670 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -7,7 +7,7 @@ dependencies { project(':grpc-context'), libraries.instrumentation_api testCompile project(':grpc-testing') - signature "org.codehaus.mojo.signature:java16:+@signature" + signature "org.codehaus.mojo.signature:java16:1.1@signature" } javadoc { diff --git a/netty/build.gradle b/netty/build.gradle index 954fdadb75..9ed8fbd815 100644 --- a/netty/build.gradle +++ b/netty/build.gradle @@ -8,7 +8,7 @@ dependencies { testCompile project(':grpc-core').sourceSets.test.output, project(':grpc-testing') testRuntime libraries.netty_tcnative - signature "org.codehaus.mojo.signature:java17:+@signature" + signature "org.codehaus.mojo.signature:java17:1.0@signature" } [compileJava, compileTestJava].each() { diff --git a/okhttp/build.gradle b/okhttp/build.gradle index bdff55aec6..8d61f73329 100644 --- a/okhttp/build.gradle +++ b/okhttp/build.gradle @@ -8,7 +8,7 @@ dependencies { testCompile project(':grpc-core').sourceSets.test.output, project(':grpc-testing'), project(':grpc-netty') - signature "org.codehaus.mojo.signature:java16:+@signature" + signature "org.codehaus.mojo.signature:java16:1.1@signature" } project.sourceSets { diff --git a/protobuf-lite/build.gradle b/protobuf-lite/build.gradle index 0a15e66fb6..4ab1f5f280 100644 --- a/protobuf-lite/build.gradle +++ b/protobuf-lite/build.gradle @@ -19,7 +19,7 @@ dependencies { testProtobuf libraries.protobuf - signature "org.codehaus.mojo.signature:java16:+@signature" + signature "org.codehaus.mojo.signature:java16:1.1@signature" } compileTestJava { diff --git a/protobuf-nano/build.gradle b/protobuf-nano/build.gradle index e577fcbcd8..ea629d3b62 100644 --- a/protobuf-nano/build.gradle +++ b/protobuf-nano/build.gradle @@ -14,7 +14,7 @@ dependencies { compile project(':grpc-core'), libraries.protobuf_nano, libraries.guava - signature "org.codehaus.mojo.signature:java16:+@signature" + signature "org.codehaus.mojo.signature:java16:1.1@signature" } configureProtoCompilation() diff --git a/protobuf/build.gradle b/protobuf/build.gradle index 06dd944f4f..7292c90c41 100644 --- a/protobuf/build.gradle +++ b/protobuf/build.gradle @@ -25,7 +25,7 @@ dependencies { exclude group: 'com.google.protobuf', module: 'protobuf-lite' } - signature "org.codehaus.mojo.signature:java16:+@signature" + signature "org.codehaus.mojo.signature:java16:1.1@signature" } configureProtoCompilation() diff --git a/services/build.gradle b/services/build.gradle index 8f66741ac8..7e104ef672 100644 --- a/services/build.gradle +++ b/services/build.gradle @@ -14,7 +14,7 @@ dependencies { compile project(':grpc-protobuf'), project(':grpc-stub') testCompile project(':grpc-testing') - signature "org.codehaus.mojo.signature:java16:+@signature" + signature "org.codehaus.mojo.signature:java16:1.1@signature" } configureProtoCompilation() diff --git a/stub/build.gradle b/stub/build.gradle index ae86c39511..b9f2ada48a 100644 --- a/stub/build.gradle +++ b/stub/build.gradle @@ -3,7 +3,7 @@ dependencies { compile project(':grpc-core') testCompile libraries.truth, project(':grpc-testing') - signature "org.codehaus.mojo.signature:java16:+@signature" + signature "org.codehaus.mojo.signature:java16:1.1@signature" } javadoc.options.links "https://google.github.io/guava/releases/${guavaVersion}/api/docs/"