aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKun Zhang <zhangkun83@users.noreply.github.com>2018-01-09 13:28:54 -0800
committerGitHub <noreply@github.com>2018-01-09 13:28:54 -0800
commit4115491a24e3a2e3f226a2f6e7b701d89aa4d243 (patch)
treedba385ba5b154a4f5e96ec2dc6946dc046a7a76d /README.md
parent4bc0c95d0b835c343adfe357d66aa0fc2ec5a9a0 (diff)
downloadgrpc-grpc-java-4115491a24e3a2e3f226a2f6e7b701d89aa4d243.tar.gz
Update README to reference 1.9.0 (#3934)
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/README.md b/README.md
index d2eb2023c..080c441b4 100644
--- a/README.md
+++ b/README.md
@@ -28,37 +28,37 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
- <version>1.8.0</version>
+ <version>1.9.0</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
- <version>1.8.0</version>
+ <version>1.9.0</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
- <version>1.8.0</version>
+ <version>1.9.0</version>
</dependency>
```
Or for Gradle with non-Android, add to your dependencies:
```gradle
-compile 'io.grpc:grpc-netty:1.8.0'
-compile 'io.grpc:grpc-protobuf:1.8.0'
-compile 'io.grpc:grpc-stub:1.8.0'
+compile 'io.grpc:grpc-netty:1.9.0'
+compile 'io.grpc:grpc-protobuf:1.9.0'
+compile 'io.grpc:grpc-stub:1.9.0'
```
For Android client, use `grpc-okhttp` instead of `grpc-netty` and
`grpc-protobuf-lite` or `grpc-protobuf-nano` instead of `grpc-protobuf`:
```gradle
-compile 'io.grpc:grpc-okhttp:1.8.0'
-compile 'io.grpc:grpc-protobuf-lite:1.8.0'
-compile 'io.grpc:grpc-stub:1.8.0'
+compile 'io.grpc:grpc-okhttp:1.9.0'
+compile 'io.grpc:grpc-protobuf-lite:1.9.0'
+compile 'io.grpc:grpc-stub:1.9.0'
```
[the JARs]:
-http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%221.8.0%22
+http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%221.9.0%22
Development snapshots are available in [Sonatypes's snapshot
repository](https://oss.sonatype.org/content/repositories/snapshots/).
@@ -87,7 +87,7 @@ For protobuf-based codegen integrated with the Maven build system, you can use
<configuration>
<protocArtifact>com.google.protobuf:protoc:3.5.1-1:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
- <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.8.0:exe:${os.detected.classifier}</pluginArtifact>
+ <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.9.0:exe:${os.detected.classifier}</pluginArtifact>
</configuration>
<executions>
<execution>
@@ -127,7 +127,7 @@ protobuf {
}
plugins {
grpc {
- artifact = 'io.grpc:protoc-gen-grpc-java:1.8.0'
+ artifact = 'io.grpc:protoc-gen-grpc-java:1.9.0'
}
}
generateProtoTasks {