Skip to content

Commit 1c93459

Browse files
committed
Bump version to 1.22.0
1 parent 89cf5bc commit 1c93459

File tree

22 files changed

+49
-49
lines changed

22 files changed

+49
-49
lines changed

android-interop-testing/app/build.gradle

+6-6
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protobuf {
4242
protoc { artifact = 'com.google.protobuf:protoc:3.7.1' }
4343
plugins {
4444
javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" }
45-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
45+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0' // CURRENT_GRPC_VERSION
4646
}
4747
}
4848
generateProtoTasks {
@@ -71,11 +71,11 @@ dependencies {
7171
implementation 'junit:junit:4.12'
7272

7373
// You need to build grpc-java to obtain the grpc libraries below.
74-
implementation 'io.grpc:grpc-auth:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
75-
implementation 'io.grpc:grpc-okhttp:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
76-
implementation 'io.grpc:grpc-protobuf-lite:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
77-
implementation 'io.grpc:grpc-stub:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
78-
implementation 'io.grpc:grpc-testing:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
74+
implementation 'io.grpc:grpc-auth:1.22.0' // CURRENT_GRPC_VERSION
75+
implementation 'io.grpc:grpc-okhttp:1.22.0' // CURRENT_GRPC_VERSION
76+
implementation 'io.grpc:grpc-protobuf-lite:1.22.0' // CURRENT_GRPC_VERSION
77+
implementation 'io.grpc:grpc-stub:1.22.0' // CURRENT_GRPC_VERSION
78+
implementation 'io.grpc:grpc-testing:1.22.0' // CURRENT_GRPC_VERSION
7979

8080
// workaround for https://github.com/google/protobuf/issues/1889
8181
protobuf 'com.google.protobuf:protobuf-java:3.0.2'

android/build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'com.android.library'
22

33
group = "io.grpc"
4-
version = "1.22.0-SNAPSHOT" // CURRENT_GRPC_VERSION
4+
version = "1.22.0" // CURRENT_GRPC_VERSION
55
description = 'gRPC: Android'
66

77
buildscript {
@@ -47,9 +47,9 @@ dependencies {
4747
errorprone 'com.google.errorprone:error_prone_core:2.3.3'
4848
errorproneJavac 'com.google.errorprone:javac:9+181-r4173-1'
4949

50-
implementation 'io.grpc:grpc-core:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
50+
implementation 'io.grpc:grpc-core:1.22.0' // CURRENT_GRPC_VERSION
5151

52-
testImplementation 'io.grpc:grpc-okhttp:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
52+
testImplementation 'io.grpc:grpc-okhttp:1.22.0' // CURRENT_GRPC_VERSION
5353
testImplementation 'junit:junit:4.12'
5454
testImplementation 'org.robolectric:robolectric:3.7.1'
5555
testImplementation 'com.google.truth:truth:0.45'

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ subprojects {
4848
}
4949

5050
group = "io.grpc"
51-
version = "1.22.0-SNAPSHOT" // CURRENT_GRPC_VERSION
51+
version = "1.22.0" // CURRENT_GRPC_VERSION
5252

5353
sourceCompatibility = 1.7
5454
targetCompatibility = 1.7

compiler/src/test/golden/TestDeprecatedService.java.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
2121
* </pre>
2222
*/
2323
@javax.annotation.Generated(
24-
value = "by gRPC proto compiler (version 1.22.0-SNAPSHOT)",
24+
value = "by gRPC proto compiler (version 1.22.0)",
2525
comments = "Source: grpc/testing/compiler/test.proto")
2626
@java.lang.Deprecated
2727
public final class TestDeprecatedServiceGrpc {

compiler/src/test/golden/TestService.java.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
2121
* </pre>
2222
*/
2323
@javax.annotation.Generated(
24-
value = "by gRPC proto compiler (version 1.22.0-SNAPSHOT)",
24+
value = "by gRPC proto compiler (version 1.22.0)",
2525
comments = "Source: grpc/testing/compiler/test.proto")
2626
public final class TestServiceGrpc {
2727

compiler/src/testLite/golden/TestDeprecatedService.java.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
2121
* </pre>
2222
*/
2323
@javax.annotation.Generated(
24-
value = "by gRPC proto compiler (version 1.22.0-SNAPSHOT)",
24+
value = "by gRPC proto compiler (version 1.22.0)",
2525
comments = "Source: grpc/testing/compiler/test.proto")
2626
@java.lang.Deprecated
2727
public final class TestDeprecatedServiceGrpc {

compiler/src/testLite/golden/TestService.java.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
2121
* </pre>
2222
*/
2323
@javax.annotation.Generated(
24-
value = "by gRPC proto compiler (version 1.22.0-SNAPSHOT)",
24+
value = "by gRPC proto compiler (version 1.22.0)",
2525
comments = "Source: grpc/testing/compiler/test.proto")
2626
public final class TestServiceGrpc {
2727

core/src/main/java/io/grpc/internal/GrpcUtil.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public byte[] parseAsciiString(byte[] serialized) {
202202

203203
public static final Splitter ACCEPT_ENCODING_SPLITTER = Splitter.on(',').trimResults();
204204

205-
private static final String IMPLEMENTATION_VERSION = "1.22.0-SNAPSHOT"; // CURRENT_GRPC_VERSION
205+
private static final String IMPLEMENTATION_VERSION = "1.22.0"; // CURRENT_GRPC_VERSION
206206

207207
/**
208208
* The default timeout in nanos for a keepalive ping request.

cronet/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ android {
3939
}
4040

4141
dependencies {
42-
implementation 'io.grpc:grpc-core:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
43-
testImplementation 'io.grpc:grpc-testing:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
42+
implementation 'io.grpc:grpc-core:1.22.0' // CURRENT_GRPC_VERSION
43+
testImplementation 'io.grpc:grpc-testing:1.22.0' // CURRENT_GRPC_VERSION
4444

4545
implementation "org.chromium.net:cronet-embedded:66.3359.158"
4646

examples/android/clientcache/app/build.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protobuf {
3131
protoc { artifact = 'com.google.protobuf:protoc:3.4.0' }
3232
plugins {
3333
javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" }
34-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
34+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0' // CURRENT_GRPC_VERSION
3535
}
3636
}
3737
generateProtoTasks {
@@ -49,12 +49,12 @@ dependencies {
4949
implementation 'com.android.support:appcompat-v7:27.0.2'
5050

5151
// You need to build grpc-java to obtain these libraries below.
52-
implementation 'io.grpc:grpc-okhttp:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
53-
implementation 'io.grpc:grpc-protobuf-lite:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
54-
implementation 'io.grpc:grpc-stub:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
52+
implementation 'io.grpc:grpc-okhttp:1.22.0' // CURRENT_GRPC_VERSION
53+
implementation 'io.grpc:grpc-protobuf-lite:1.22.0' // CURRENT_GRPC_VERSION
54+
implementation 'io.grpc:grpc-stub:1.22.0' // CURRENT_GRPC_VERSION
5555
implementation 'javax.annotation:javax.annotation-api:1.2'
5656

5757
testImplementation 'junit:junit:4.12'
5858
testImplementation 'com.google.truth:truth:0.45'
59-
testImplementation 'io.grpc:grpc-testing:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
59+
testImplementation 'io.grpc:grpc-testing:1.22.0' // CURRENT_GRPC_VERSION
6060
}

examples/android/helloworld/app/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protobuf {
3030
protoc { artifact = 'com.google.protobuf:protoc:3.7.1' }
3131
plugins {
3232
javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" }
33-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
33+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0' // CURRENT_GRPC_VERSION
3434
}
3535
}
3636
generateProtoTasks {
@@ -48,8 +48,8 @@ dependencies {
4848
implementation 'com.android.support:appcompat-v7:27.0.2'
4949

5050
// You need to build grpc-java to obtain these libraries below.
51-
implementation 'io.grpc:grpc-okhttp:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
52-
implementation 'io.grpc:grpc-protobuf-lite:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
53-
implementation 'io.grpc:grpc-stub:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
51+
implementation 'io.grpc:grpc-okhttp:1.22.0' // CURRENT_GRPC_VERSION
52+
implementation 'io.grpc:grpc-protobuf-lite:1.22.0' // CURRENT_GRPC_VERSION
53+
implementation 'io.grpc:grpc-stub:1.22.0' // CURRENT_GRPC_VERSION
5454
implementation 'javax.annotation:javax.annotation-api:1.2'
5555
}

examples/android/routeguide/app/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ protobuf {
2929
protoc { artifact = 'com.google.protobuf:protoc:3.7.1' }
3030
plugins {
3131
javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" }
32-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
32+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0' // CURRENT_GRPC_VERSION
3333
}
3434
}
3535
generateProtoTasks {
@@ -47,8 +47,8 @@ dependencies {
4747
implementation 'com.android.support:appcompat-v7:27.0.2'
4848

4949
// You need to build grpc-java to obtain these libraries below.
50-
implementation 'io.grpc:grpc-okhttp:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
51-
implementation 'io.grpc:grpc-protobuf-lite:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
52-
implementation 'io.grpc:grpc-stub:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
50+
implementation 'io.grpc:grpc-okhttp:1.22.0' // CURRENT_GRPC_VERSION
51+
implementation 'io.grpc:grpc-protobuf-lite:1.22.0' // CURRENT_GRPC_VERSION
52+
implementation 'io.grpc:grpc-stub:1.22.0' // CURRENT_GRPC_VERSION
5353
implementation 'javax.annotation:javax.annotation-api:1.2'
5454
}

examples/android/strictmode/app/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protobuf {
3030
protoc { artifact = 'com.google.protobuf:protoc:3.7.0' }
3131
plugins {
3232
javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" }
33-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.21.0-SNAPSHOT' // CURRENT_GRPC_VERSION
33+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.21.0' // CURRENT_GRPC_VERSION
3434
}
3535
}
3636
generateProtoTasks {
@@ -48,8 +48,8 @@ dependencies {
4848
implementation 'com.android.support:appcompat-v7:28.0.0'
4949

5050
// You need to build grpc-java to obtain these libraries below.
51-
implementation 'io.grpc:grpc-okhttp:1.21.0-SNAPSHOT' // CURRENT_GRPC_VERSION
52-
implementation 'io.grpc:grpc-protobuf-lite:1.21.0-SNAPSHOT' // CURRENT_GRPC_VERSION
53-
implementation 'io.grpc:grpc-stub:1.21.0-SNAPSHOT' // CURRENT_GRPC_VERSION
51+
implementation 'io.grpc:grpc-okhttp:1.21.0' // CURRENT_GRPC_VERSION
52+
implementation 'io.grpc:grpc-protobuf-lite:1.21.0' // CURRENT_GRPC_VERSION
53+
implementation 'io.grpc:grpc-stub:1.21.0' // CURRENT_GRPC_VERSION
5454
implementation 'javax.annotation:javax.annotation-api:1.2'
5555
}

examples/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ targetCompatibility = 1.7
2121

2222
// Feel free to delete the comment at the next line. It is just for safely
2323
// updating the version in our release process.
24-
def grpcVersion = '1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
24+
def grpcVersion = '1.22.0' // CURRENT_GRPC_VERSION
2525
def protobufVersion = '3.7.1'
2626
def protocVersion = protobufVersion
2727

examples/example-alts/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ targetCompatibility = 1.7
2222

2323
// Feel free to delete the comment at the next line. It is just for safely
2424
// updating the version in our release process.
25-
def grpcVersion = '1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
25+
def grpcVersion = '1.22.0' // CURRENT_GRPC_VERSION
2626
def protocVersion = '3.7.1'
2727

2828
dependencies {

examples/example-gauth/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ targetCompatibility = 1.7
2222

2323
// Feel free to delete the comment at the next line. It is just for safely
2424
// updating the version in our release process.
25-
def grpcVersion = '1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
25+
def grpcVersion = '1.22.0' // CURRENT_GRPC_VERSION
2626
def protobufVersion = '3.7.1'
2727
def protocVersion = protobufVersion
2828

examples/example-gauth/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<packaging>jar</packaging>
77
<!-- Feel free to delete the comment at the end of these lines. It is just
88
for safely updating the version in our release process. -->
9-
<version>1.22.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
9+
<version>1.22.0</version><!-- CURRENT_GRPC_VERSION -->
1010
<name>example-gauth</name>
1111
<url>https://github.com/grpc/grpc-java</url>
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<grpc.version>1.22.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
15+
<grpc.version>1.22.0</grpc.version><!-- CURRENT_GRPC_VERSION -->
1616
<protobuf.version>3.7.1</protobuf.version>
1717
<!-- required for jdk9 -->
1818
<maven.compiler.source>1.7</maven.compiler.source>

examples/example-kotlin/android/helloworld/app/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ protobuf {
5252
protoc { artifact = 'com.google.protobuf:protoc:3.7.1' }
5353
plugins {
5454
javalite { artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0" }
55-
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
55+
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0' // CURRENT_GRPC_VERSION
5656
}
5757
}
5858
generateProtoTasks {
@@ -72,9 +72,9 @@ dependencies {
7272
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
7373

7474
// You need to build grpc-java to obtain these libraries below.
75-
implementation 'io.grpc:grpc-okhttp:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
76-
implementation 'io.grpc:grpc-protobuf-lite:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
77-
implementation 'io.grpc:grpc-stub:1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
75+
implementation 'io.grpc:grpc-okhttp:1.22.0' // CURRENT_GRPC_VERSION
76+
implementation 'io.grpc:grpc-protobuf-lite:1.22.0' // CURRENT_GRPC_VERSION
77+
implementation 'io.grpc:grpc-stub:1.22.0' // CURRENT_GRPC_VERSION
7878
}
7979

8080
repositories { mavenCentral() }

examples/example-kotlin/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repositories {
2525

2626
// Feel free to delete the comment at the next line. It is just for safely
2727
// updating the version in our release process.
28-
def grpcVersion = '1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
28+
def grpcVersion = '1.22.0' // CURRENT_GRPC_VERSION
2929

3030
dependencies {
3131
def kotlinVerion = plugins.findPlugin("org.jetbrains.kotlin.jvm").kotlinPluginVersion

examples/example-tls/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ targetCompatibility = 1.7
2222

2323
// Feel free to delete the comment at the next line. It is just for safely
2424
// updating the version in our release process.
25-
def grpcVersion = '1.22.0-SNAPSHOT' // CURRENT_GRPC_VERSION
25+
def grpcVersion = '1.22.0' // CURRENT_GRPC_VERSION
2626
def nettyTcNativeVersion = '2.0.25.Final'
2727
def protocVersion = '3.7.1'
2828

examples/example-tls/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<packaging>jar</packaging>
77
<!-- Feel free to delete the comment at the end of these lines. It is just
88
for safely updating the version in our release process. -->
9-
<version>1.22.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
9+
<version>1.22.0</version><!-- CURRENT_GRPC_VERSION -->
1010
<name>example-tls</name>
1111
<url>https://github.com/grpc/grpc-java</url>
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<grpc.version>1.22.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
15+
<grpc.version>1.22.0</grpc.version><!-- CURRENT_GRPC_VERSION -->
1616
<protoc.version>3.7.1</protoc.version>
1717
<netty.tcnative.version>2.0.25.Final</netty.tcnative.version>
1818
<!-- required for jdk9 -->

examples/pom.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
<packaging>jar</packaging>
77
<!-- Feel free to delete the comment at the end of these lines. It is just
88
for safely updating the version in our release process. -->
9-
<version>1.22.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
9+
<version>1.22.0</version><!-- CURRENT_GRPC_VERSION -->
1010
<name>examples</name>
1111
<url>https://github.com/grpc/grpc-java</url>
1212

1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15-
<grpc.version>1.22.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
15+
<grpc.version>1.22.0</grpc.version><!-- CURRENT_GRPC_VERSION -->
1616
<protobuf.version>3.7.1</protobuf.version>
1717
<protoc.version>3.7.1</protoc.version>
1818
<!-- required for jdk9 -->

0 commit comments

Comments
 (0)