aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorSky Ao <aoxiaojian@gmail.com>2016-07-26 00:58:43 +0800
committerCarl Mastrangelo <carl-mastrangelo@users.noreply.github.com>2016-07-25 09:58:43 -0700
commit841c7c4bfa4d3e880549c02ce3fc382f2171bf7b (patch)
tree9c1ab5b53b5b43f132a15ccea51c7cd1c3604c25 /README.md
parentd0c173b5d290702659a76d5908007a0a6a9b82b4 (diff)
downloadgrpc-grpc-java-841c7c4bfa4d3e880549c02ce3fc382f2171bf7b.tar.gz
docs: update grpc version to 0.15.0 and protoc to 3.0.0-beta-3
Diffstat (limited to 'README.md')
-rw-r--r--README.md26
1 files changed, 13 insertions, 13 deletions
diff --git a/README.md b/README.md
index 51d9e4e87..3e9b6c3e3 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`:
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty</artifactId>
- <version>0.14.0</version>
+ <version>0.15.0</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
- <version>0.14.0</version>
+ <version>0.15.0</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
- <version>0.14.0</version>
+ <version>0.15.0</version>
</dependency>
```
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.
-->
- <protocArtifact>com.google.protobuf:protoc:3.0.0-beta-2:exe:${os.detected.classifier}</protocArtifact>
+ <protocArtifact>com.google.protobuf:protoc:3.0.0-beta-3:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
- <pluginArtifact>io.grpc:protoc-gen-grpc-java:0.14.0:exe:${os.detected.classifier}</pluginArtifact>
+ <pluginArtifact>io.grpc:protoc-gen-grpc-java:0.15.0:exe:${os.detected.classifier}</pluginArtifact>
</configuration>
<executions>
<execution>
@@ -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 {