diff options
author | ZHANG Dapeng <zdapeng@google.com> | 2018-06-21 09:28:30 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-21 09:28:30 -0700 |
commit | e59aac7178fb5c1b11da51442efa4c3496744b64 (patch) | |
tree | 01d45ccc8a93df7bee28a42b94fbe56368cee600 /README.md | |
parent | a20f4812d65558949866f87524bfb5fb98175ff4 (diff) | |
download | grpc-grpc-java-e59aac7178fb5c1b11da51442efa4c3496744b64.tar.gz |
Update README to reference 1.13.1 (#4580)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -31,37 +31,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.12.0</version> + <version>1.13.1</version> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-protobuf</artifactId> - <version>1.12.0</version> + <version>1.13.1</version> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-stub</artifactId> - <version>1.12.0</version> + <version>1.13.1</version> </dependency> ``` Or for Gradle with non-Android, add to your dependencies: ```gradle -compile 'io.grpc:grpc-netty:1.12.0' -compile 'io.grpc:grpc-protobuf:1.12.0' -compile 'io.grpc:grpc-stub:1.12.0' +compile 'io.grpc:grpc-netty:1.13.1' +compile 'io.grpc:grpc-protobuf:1.13.1' +compile 'io.grpc:grpc-stub:1.13.1' ``` 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.12.0' -compile 'io.grpc:grpc-protobuf-lite:1.12.0' -compile 'io.grpc:grpc-stub:1.12.0' +compile 'io.grpc:grpc-okhttp:1.13.1' +compile 'io.grpc:grpc-protobuf-lite:1.13.1' +compile 'io.grpc:grpc-stub:1.13.1' ``` [the JARs]: -http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%221.12.0%22 +http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%221.13.1%22 Development snapshots are available in [Sonatypes's snapshot repository](https://oss.sonatype.org/content/repositories/snapshots/). @@ -90,7 +90,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.12.0:exe:${os.detected.classifier}</pluginArtifact> + <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.13.1:exe:${os.detected.classifier}</pluginArtifact> </configuration> <executions> <execution> @@ -130,7 +130,7 @@ protobuf { } plugins { grpc { - artifact = 'io.grpc:protoc-gen-grpc-java:1.12.0' + artifact = 'io.grpc:protoc-gen-grpc-java:1.13.1' } } generateProtoTasks { |