From 841c7c4bfa4d3e880549c02ce3fc382f2171bf7b Mon Sep 17 00:00:00 2001 From: Sky Ao Date: Tue, 26 Jul 2016 00:58:43 +0800 Subject: [PATCH] docs: update grpc version to 0.15.0 and protoc to 3.0.0-beta-3 --- README.md | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 51d9e4e87b..3e9b6c3e3c 100644 --- a/README.md +++ b/README.md @@ -27,33 +27,33 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`: io.grpc grpc-netty - 0.14.0 + 0.15.0 io.grpc grpc-protobuf - 0.14.0 + 0.15.0 io.grpc grpc-stub - 0.14.0 + 0.15.0 ``` Or for Gradle with non-Android, add to your dependencies: ```gradle -compile 'io.grpc:grpc-netty:0.14.0' -compile 'io.grpc:grpc-protobuf:0.14.0' -compile 'io.grpc:grpc-stub:0.14.0' +compile 'io.grpc:grpc-netty:0.15.0' +compile 'io.grpc:grpc-protobuf:0.15.0' +compile 'io.grpc:grpc-stub:0.15.0' ``` For Android client, use `grpc-okhttp` instead of `grpc-netty` and `grpc-protobuf-nano` or `grpc-protobuf-lite` instead of `grpc-protobuf`: ```gradle -compile 'io.grpc:grpc-okhttp:0.14.0' -compile 'io.grpc:grpc-protobuf-nano:0.14.0' -compile 'io.grpc:grpc-stub:0.14.0' +compile 'io.grpc:grpc-okhttp:0.15.0' +compile 'io.grpc:grpc-protobuf-nano:0.15.0' +compile 'io.grpc:grpc-stub:0.15.0' ``` [the JARs]: @@ -87,9 +87,9 @@ For protobuf-based codegen integrated with the Maven build system, you can use protobuf-java directly, you will be transitively depending on the protobuf-java version that grpc depends on. --> - com.google.protobuf:protoc:3.0.0-beta-2:exe:${os.detected.classifier} + com.google.protobuf:protoc:3.0.0-beta-3:exe:${os.detected.classifier} grpc-java - io.grpc:protoc-gen-grpc-java:0.14.0:exe:${os.detected.classifier} + io.grpc:protoc-gen-grpc-java:0.15.0:exe:${os.detected.classifier} @@ -128,11 +128,11 @@ protobuf { // The version of protoc must match protobuf-java. If you don't depend on // protobuf-java directly, you will be transitively depending on the // protobuf-java version that grpc depends on. - artifact = "com.google.protobuf:protoc:3.0.0-beta-2" + artifact = "com.google.protobuf:protoc:3.0.0-beta-3" } plugins { grpc { - artifact = 'io.grpc:protoc-gen-grpc-java:0.14.0' + artifact = 'io.grpc:protoc-gen-grpc-java:0.15.0' } } generateProtoTasks {