Skip to content

Commit 89cf5bc

Browse files
committed
Update README to reference 1.22.0
1 parent 2b603f2 commit 89cf5bc

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ For a guided tour, take a look at the [quick start
3030
guide](https://grpc.io/docs/quickstart/java.html) or the more explanatory [gRPC
3131
basics](https://grpc.io/docs/tutorials/basic/java.html).
3232

33-
The [examples](https://github.com/grpc/grpc-java/tree/v1.21.0/examples) and the
34-
[Android example](https://github.com/grpc/grpc-java/tree/v1.21.0/examples/android)
33+
The [examples](https://github.com/grpc/grpc-java/tree/v1.22.0/examples) and the
34+
[Android example](https://github.com/grpc/grpc-java/tree/v1.22.0/examples/android)
3535
are standalone projects that showcase the usage of gRPC.
3636

3737
Download
@@ -42,37 +42,37 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
4242
<dependency>
4343
<groupId>io.grpc</groupId>
4444
<artifactId>grpc-netty-shaded</artifactId>
45-
<version>1.21.0</version>
45+
<version>1.22.0</version>
4646
</dependency>
4747
<dependency>
4848
<groupId>io.grpc</groupId>
4949
<artifactId>grpc-protobuf</artifactId>
50-
<version>1.21.0</version>
50+
<version>1.22.0</version>
5151
</dependency>
5252
<dependency>
5353
<groupId>io.grpc</groupId>
5454
<artifactId>grpc-stub</artifactId>
55-
<version>1.21.0</version>
55+
<version>1.22.0</version>
5656
</dependency>
5757
```
5858

5959
Or for Gradle with non-Android, add to your dependencies:
6060
```gradle
61-
compile 'io.grpc:grpc-netty-shaded:1.21.0'
62-
compile 'io.grpc:grpc-protobuf:1.21.0'
63-
compile 'io.grpc:grpc-stub:1.21.0'
61+
compile 'io.grpc:grpc-netty-shaded:1.22.0'
62+
compile 'io.grpc:grpc-protobuf:1.22.0'
63+
compile 'io.grpc:grpc-stub:1.22.0'
6464
```
6565

6666
For Android client, use `grpc-okhttp` instead of `grpc-netty-shaded` and
6767
`grpc-protobuf-lite` instead of `grpc-protobuf`:
6868
```gradle
69-
compile 'io.grpc:grpc-okhttp:1.21.0'
70-
compile 'io.grpc:grpc-protobuf-lite:1.21.0'
71-
compile 'io.grpc:grpc-stub:1.21.0'
69+
compile 'io.grpc:grpc-okhttp:1.22.0'
70+
compile 'io.grpc:grpc-protobuf-lite:1.22.0'
71+
compile 'io.grpc:grpc-stub:1.22.0'
7272
```
7373

7474
[the JARs]:
75-
https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.21.0
75+
https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.22.0
7676

7777
Development snapshots are available in [Sonatypes's snapshot
7878
repository](https://oss.sonatype.org/content/repositories/snapshots/).
@@ -104,7 +104,7 @@ For protobuf-based codegen integrated with the Maven build system, you can use
104104
<configuration>
105105
<protocArtifact>com.google.protobuf:protoc:3.7.1:exe:${os.detected.classifier}</protocArtifact>
106106
<pluginId>grpc-java</pluginId>
107-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.21.0:exe:${os.detected.classifier}</pluginArtifact>
107+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.22.0:exe:${os.detected.classifier}</pluginArtifact>
108108
</configuration>
109109
<executions>
110110
<execution>
@@ -141,7 +141,7 @@ protobuf {
141141
}
142142
plugins {
143143
grpc {
144-
artifact = 'io.grpc:protoc-gen-grpc-java:1.21.0'
144+
artifact = 'io.grpc:protoc-gen-grpc-java:1.22.0'
145145
}
146146
}
147147
generateProtoTasks {

0 commit comments

Comments
 (0)