From 6657c310947bc61fcc579e31de2c3c113bc238b3 Mon Sep 17 00:00:00 2001 From: Eric Anderson Date: Mon, 1 Oct 2018 15:31:04 -0700 Subject: [PATCH] Bump version to 1.15.1 --- android-interop-testing/app/build.gradle | 12 ++++++------ android/build.gradle | 6 +++--- build.gradle | 2 +- .../src/test/golden/TestDeprecatedService.java.txt | 2 +- compiler/src/test/golden/TestService.java.txt | 2 +- .../testLite/golden/TestDeprecatedService.java.txt | 2 +- compiler/src/testLite/golden/TestService.java.txt | 2 +- .../testNano/golden/TestDeprecatedService.java.txt | 2 +- compiler/src/testNano/golden/TestService.java.txt | 2 +- core/src/main/java/io/grpc/internal/GrpcUtil.java | 2 +- cronet/build.gradle | 4 ++-- documentation/android-channel-builder.md | 4 ++-- examples/android/clientcache/app/build.gradle | 10 +++++----- examples/android/helloworld/app/build.gradle | 8 ++++---- examples/android/routeguide/app/build.gradle | 8 ++++---- examples/build.gradle | 2 +- .../android/helloworld/app/build.gradle | 8 ++++---- examples/example-kotlin/build.gradle | 2 +- examples/pom.xml | 4 ++-- 19 files changed, 42 insertions(+), 42 deletions(-) diff --git a/android-interop-testing/app/build.gradle b/android-interop-testing/app/build.gradle index 8103027c91b..1ed93c1e4a5 100644 --- a/android-interop-testing/app/build.gradle +++ b/android-interop-testing/app/build.gradle @@ -42,7 +42,7 @@ protobuf { protoc { artifact = 'com.google.protobuf:protoc:3.5.1-1' } plugins { javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" } - grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1' // CURRENT_GRPC_VERSION } } generateProtoTasks { @@ -71,11 +71,11 @@ dependencies { implementation 'junit:junit:4.12' // You need to build grpc-java to obtain the grpc libraries below. - implementation 'io.grpc:grpc-auth:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - implementation 'io.grpc:grpc-okhttp:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - implementation 'io.grpc:grpc-protobuf-lite:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - implementation 'io.grpc:grpc-stub:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - implementation 'io.grpc:grpc-testing:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + implementation 'io.grpc:grpc-auth:1.15.1' // CURRENT_GRPC_VERSION + implementation 'io.grpc:grpc-okhttp:1.15.1' // CURRENT_GRPC_VERSION + implementation 'io.grpc:grpc-protobuf-lite:1.15.1' // CURRENT_GRPC_VERSION + implementation 'io.grpc:grpc-stub:1.15.1' // CURRENT_GRPC_VERSION + implementation 'io.grpc:grpc-testing:1.15.1' // CURRENT_GRPC_VERSION // workaround for https://github.com/google/protobuf/issues/1889 protobuf 'com.google.protobuf:protobuf-java:3.0.2' diff --git a/android/build.gradle b/android/build.gradle index 1b1259f2313..ee6226a3bcd 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,7 +1,7 @@ apply plugin: 'com.android.library' group = "io.grpc" -version = "1.15.1-SNAPSHOT" // CURRENT_GRPC_VERSION +version = "1.15.1" // CURRENT_GRPC_VERSION description = 'gRPC: Android' buildscript { @@ -41,9 +41,9 @@ repositories { } dependencies { - implementation 'io.grpc:grpc-core:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + implementation 'io.grpc:grpc-core:1.15.1' // CURRENT_GRPC_VERSION - testImplementation 'io.grpc:grpc-okhttp:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + testImplementation 'io.grpc:grpc-okhttp:1.15.1' // CURRENT_GRPC_VERSION testImplementation 'junit:junit:4.12' testImplementation 'org.robolectric:robolectric:3.7.1' testImplementation 'com.google.truth:truth:0.39' diff --git a/build.gradle b/build.gradle index 51ad232f15f..3f9a12ff91b 100644 --- a/build.gradle +++ b/build.gradle @@ -53,7 +53,7 @@ subprojects { idea.module.inheritOutputDirs = true group = "io.grpc" - version = "1.15.1-SNAPSHOT" // CURRENT_GRPC_VERSION + version = "1.15.1" // CURRENT_GRPC_VERSION sourceCompatibility = 1.7 targetCompatibility = 1.7 diff --git a/compiler/src/test/golden/TestDeprecatedService.java.txt b/compiler/src/test/golden/TestDeprecatedService.java.txt index 12197f0b457..8aa840d7458 100644 --- a/compiler/src/test/golden/TestDeprecatedService.java.txt +++ b/compiler/src/test/golden/TestDeprecatedService.java.txt @@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.15.1-SNAPSHOT)", + value = "by gRPC proto compiler (version 1.15.1)", comments = "Source: grpc/testing/compiler/test.proto") @java.lang.Deprecated public final class TestDeprecatedServiceGrpc { diff --git a/compiler/src/test/golden/TestService.java.txt b/compiler/src/test/golden/TestService.java.txt index 806f06765af..7587b9ca9d1 100644 --- a/compiler/src/test/golden/TestService.java.txt +++ b/compiler/src/test/golden/TestService.java.txt @@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.15.1-SNAPSHOT)", + value = "by gRPC proto compiler (version 1.15.1)", comments = "Source: grpc/testing/compiler/test.proto") public final class TestServiceGrpc { diff --git a/compiler/src/testLite/golden/TestDeprecatedService.java.txt b/compiler/src/testLite/golden/TestDeprecatedService.java.txt index 4dde2cd4b31..b31c3ab4604 100644 --- a/compiler/src/testLite/golden/TestDeprecatedService.java.txt +++ b/compiler/src/testLite/golden/TestDeprecatedService.java.txt @@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.15.1-SNAPSHOT)", + value = "by gRPC proto compiler (version 1.15.1)", comments = "Source: grpc/testing/compiler/test.proto") @java.lang.Deprecated public final class TestDeprecatedServiceGrpc { diff --git a/compiler/src/testLite/golden/TestService.java.txt b/compiler/src/testLite/golden/TestService.java.txt index 260cec001ab..4042d060bb7 100644 --- a/compiler/src/testLite/golden/TestService.java.txt +++ b/compiler/src/testLite/golden/TestService.java.txt @@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall; * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.15.1-SNAPSHOT)", + value = "by gRPC proto compiler (version 1.15.1)", comments = "Source: grpc/testing/compiler/test.proto") public final class TestServiceGrpc { diff --git a/compiler/src/testNano/golden/TestDeprecatedService.java.txt b/compiler/src/testNano/golden/TestDeprecatedService.java.txt index 7388fb47d5a..a172aca540d 100644 --- a/compiler/src/testNano/golden/TestDeprecatedService.java.txt +++ b/compiler/src/testNano/golden/TestDeprecatedService.java.txt @@ -23,7 +23,7 @@ import java.io.IOException; * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.15.1-SNAPSHOT)", + value = "by gRPC proto compiler (version 1.15.1)", comments = "Source: grpc/testing/compiler/test.proto") @java.lang.Deprecated public final class TestDeprecatedServiceGrpc { diff --git a/compiler/src/testNano/golden/TestService.java.txt b/compiler/src/testNano/golden/TestService.java.txt index a03f4757cb9..b7521d4a83d 100644 --- a/compiler/src/testNano/golden/TestService.java.txt +++ b/compiler/src/testNano/golden/TestService.java.txt @@ -23,7 +23,7 @@ import java.io.IOException; * */ @javax.annotation.Generated( - value = "by gRPC proto compiler (version 1.15.1-SNAPSHOT)", + value = "by gRPC proto compiler (version 1.15.1)", comments = "Source: grpc/testing/compiler/test.proto") public final class TestServiceGrpc { diff --git a/core/src/main/java/io/grpc/internal/GrpcUtil.java b/core/src/main/java/io/grpc/internal/GrpcUtil.java index cfd2e4a4a44..b6ae2f13f58 100644 --- a/core/src/main/java/io/grpc/internal/GrpcUtil.java +++ b/core/src/main/java/io/grpc/internal/GrpcUtil.java @@ -199,7 +199,7 @@ public byte[] parseAsciiString(byte[] serialized) { public static final Splitter ACCEPT_ENCODING_SPLITTER = Splitter.on(',').trimResults(); - private static final String IMPLEMENTATION_VERSION = "1.15.1-SNAPSHOT"; // CURRENT_GRPC_VERSION + private static final String IMPLEMENTATION_VERSION = "1.15.1"; // CURRENT_GRPC_VERSION /** * The default delay in nanos before we send a keepalive. diff --git a/cronet/build.gradle b/cronet/build.gradle index 16e6fe6499d..5e642d99b60 100644 --- a/cronet/build.gradle +++ b/cronet/build.gradle @@ -39,8 +39,8 @@ android { } dependencies { - implementation 'io.grpc:grpc-core:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - testImplementation 'io.grpc:grpc-testing:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + implementation 'io.grpc:grpc-core:1.15.1' // CURRENT_GRPC_VERSION + testImplementation 'io.grpc:grpc-testing:1.15.1' // CURRENT_GRPC_VERSION implementation "org.chromium.net:cronet-embedded:66.3359.158" diff --git a/documentation/android-channel-builder.md b/documentation/android-channel-builder.md index 626744d4cc2..a1364080880 100644 --- a/documentation/android-channel-builder.md +++ b/documentation/android-channel-builder.md @@ -36,8 +36,8 @@ In your `build.gradle` file, include a dependency on both `grpc-android` and `grpc-okhttp`: ``` -compile 'io.grpc:grpc-android:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION -compile 'io.grpc:grpc-okhttp:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION +compile 'io.grpc:grpc-android:1.15.1' // CURRENT_GRPC_VERSION +compile 'io.grpc:grpc-okhttp:1.15.1' // CURRENT_GRPC_VERSION ``` You will also need permission to access the device's network state in your diff --git a/examples/android/clientcache/app/build.gradle b/examples/android/clientcache/app/build.gradle index 3e9119ada85..e995cac4ee5 100644 --- a/examples/android/clientcache/app/build.gradle +++ b/examples/android/clientcache/app/build.gradle @@ -31,7 +31,7 @@ protobuf { protoc { artifact = 'com.google.protobuf:protoc:3.4.0' } plugins { javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" } - grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1' // CURRENT_GRPC_VERSION } } generateProtoTasks { @@ -49,12 +49,12 @@ dependencies { compile 'com.android.support:appcompat-v7:27.0.2' // You need to build grpc-java to obtain these libraries below. - compile 'io.grpc:grpc-okhttp:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - compile 'io.grpc:grpc-protobuf-lite:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - compile 'io.grpc:grpc-stub:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-okhttp:1.15.1' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-protobuf-lite:1.15.1' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-stub:1.15.1' // CURRENT_GRPC_VERSION compile 'javax.annotation:javax.annotation-api:1.2' testCompile 'junit:junit:4.12' testCompile 'com.google.truth:truth:0.36' - testCompile 'io.grpc:grpc-testing:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + testCompile 'io.grpc:grpc-testing:1.15.1' // CURRENT_GRPC_VERSION } diff --git a/examples/android/helloworld/app/build.gradle b/examples/android/helloworld/app/build.gradle index 74ac0bbcdf5..66d2de541e2 100644 --- a/examples/android/helloworld/app/build.gradle +++ b/examples/android/helloworld/app/build.gradle @@ -30,7 +30,7 @@ protobuf { protoc { artifact = 'com.google.protobuf:protoc:3.5.1-1' } plugins { javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" } - grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1' // CURRENT_GRPC_VERSION } } generateProtoTasks { @@ -48,8 +48,8 @@ dependencies { compile 'com.android.support:appcompat-v7:27.0.2' // You need to build grpc-java to obtain these libraries below. - compile 'io.grpc:grpc-okhttp:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - compile 'io.grpc:grpc-protobuf-lite:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - compile 'io.grpc:grpc-stub:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-okhttp:1.15.1' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-protobuf-lite:1.15.1' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-stub:1.15.1' // CURRENT_GRPC_VERSION compile 'javax.annotation:javax.annotation-api:1.2' } diff --git a/examples/android/routeguide/app/build.gradle b/examples/android/routeguide/app/build.gradle index c16c2860e5b..e46ca350dd3 100644 --- a/examples/android/routeguide/app/build.gradle +++ b/examples/android/routeguide/app/build.gradle @@ -29,7 +29,7 @@ protobuf { protoc { artifact = 'com.google.protobuf:protoc:3.5.1-1' } plugins { javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" } - grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1' // CURRENT_GRPC_VERSION } } generateProtoTasks { @@ -47,8 +47,8 @@ dependencies { compile 'com.android.support:appcompat-v7:27.0.2' // You need to build grpc-java to obtain these libraries below. - compile 'io.grpc:grpc-okhttp:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - compile 'io.grpc:grpc-protobuf-lite:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - compile 'io.grpc:grpc-stub:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-okhttp:1.15.1' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-protobuf-lite:1.15.1' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-stub:1.15.1' // CURRENT_GRPC_VERSION compile 'javax.annotation:javax.annotation-api:1.2' } diff --git a/examples/build.gradle b/examples/build.gradle index c66fb8b2563..61c6bd918d9 100644 --- a/examples/build.gradle +++ b/examples/build.gradle @@ -22,7 +22,7 @@ repositories { // Feel free to delete the comment at the next line. It is just for safely // updating the version in our release process. -def grpcVersion = '1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION +def grpcVersion = '1.15.1' // CURRENT_GRPC_VERSION def nettyTcNativeVersion = '2.0.7.Final' def protobufVersion = '3.5.1' def protocVersion = '3.5.1-1' diff --git a/examples/example-kotlin/android/helloworld/app/build.gradle b/examples/example-kotlin/android/helloworld/app/build.gradle index d64d1d47043..12f9a2b16b4 100644 --- a/examples/example-kotlin/android/helloworld/app/build.gradle +++ b/examples/example-kotlin/android/helloworld/app/build.gradle @@ -52,7 +52,7 @@ protobuf { protoc { artifact = 'com.google.protobuf:protoc:3.5.1-1' } plugins { javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" } - grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.15.1' // CURRENT_GRPC_VERSION } } generateProtoTasks { @@ -72,9 +72,9 @@ dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // You need to build grpc-java to obtain these libraries below. - compile 'io.grpc:grpc-okhttp:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - compile 'io.grpc:grpc-protobuf-lite:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION - compile 'io.grpc:grpc-stub:1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-okhttp:1.15.1' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-protobuf-lite:1.15.1' // CURRENT_GRPC_VERSION + compile 'io.grpc:grpc-stub:1.15.1' // CURRENT_GRPC_VERSION } repositories { mavenCentral() } diff --git a/examples/example-kotlin/build.gradle b/examples/example-kotlin/build.gradle index 2e6db2b79ae..27952292de0 100644 --- a/examples/example-kotlin/build.gradle +++ b/examples/example-kotlin/build.gradle @@ -35,7 +35,7 @@ repositories { // Feel free to delete the comment at the next line. It is just for safely // updating the version in our release process. -def grpcVersion = '1.15.1-SNAPSHOT' // CURRENT_GRPC_VERSION +def grpcVersion = '1.15.1' // CURRENT_GRPC_VERSION dependencies { compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version" diff --git a/examples/pom.xml b/examples/pom.xml index aa3244edfea..4379b54658c 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -6,12 +6,12 @@ jar - 1.15.1-SNAPSHOT + 1.15.1 examples http://maven.apache.org UTF-8 - 1.15.1-SNAPSHOT + 1.15.1 3.5.1 3.5.1-1 2.0.7.Final