From 218bc03aeb5e171ed421fbb336952692bac2ae08 Mon Sep 17 00:00:00 2001 From: Carl Mastrangelo Date: Thu, 23 Feb 2017 16:09:42 -0800 Subject: [PATCH] all: recommend the latest gRPC version on master --- README.md | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 2aab764bb0..07268b4335 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`: io.grpc grpc-netty - 1.0.3 + 1.1.2 io.grpc grpc-protobuf - 1.0.3 + 1.1.2 io.grpc grpc-stub - 1.0.3 + 1.1.2 ``` Or for Gradle with non-Android, add to your dependencies: ```gradle -compile 'io.grpc:grpc-netty:1.0.3' -compile 'io.grpc:grpc-protobuf:1.0.3' -compile 'io.grpc:grpc-stub:1.0.3' +compile 'io.grpc:grpc-netty:1.1.2' +compile 'io.grpc:grpc-protobuf:1.1.2' +compile 'io.grpc:grpc-stub:1.1.2' ``` 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.0.3' -compile 'io.grpc:grpc-protobuf-lite:1.0.3' -compile 'io.grpc:grpc-stub:1.0.3' +compile 'io.grpc:grpc-okhttp:1.1.2' +compile 'io.grpc:grpc-protobuf-lite:1.1.2' +compile 'io.grpc:grpc-stub:1.1.2' ``` [the JARs]: -http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%221.0.3%22 +http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%221.1.2%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 com.google.protobuf:protoc:3.0.2:exe:${os.detected.classifier} grpc-java - io.grpc:protoc-gen-grpc-java:1.0.3:exe:${os.detected.classifier} + io.grpc:protoc-gen-grpc-java:1.1.2:exe:${os.detected.classifier} @@ -127,7 +127,7 @@ protobuf { } plugins { grpc { - artifact = 'io.grpc:protoc-gen-grpc-java:1.0.3' + artifact = 'io.grpc:protoc-gen-grpc-java:1.1.2' } } generateProtoTasks {