mirror of https://github.com/grpc/grpc-java.git
Update README to reference 1.10.0 (#4090)
This commit is contained in:
parent
a414b91a59
commit
0c27e719ae
22
README.md
22
README.md
|
@ -30,33 +30,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>1.9.0</version>
|
||||
<version>1.10.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-protobuf</artifactId>
|
||||
<version>1.9.0</version>
|
||||
<version>1.10.0</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.grpc</groupId>
|
||||
<artifactId>grpc-stub</artifactId>
|
||||
<version>1.9.0</version>
|
||||
<version>1.10.0</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
Or for Gradle with non-Android, add to your dependencies:
|
||||
```gradle
|
||||
compile 'io.grpc:grpc-netty:1.9.0'
|
||||
compile 'io.grpc:grpc-protobuf:1.9.0'
|
||||
compile 'io.grpc:grpc-stub:1.9.0'
|
||||
compile 'io.grpc:grpc-netty:1.10.0'
|
||||
compile 'io.grpc:grpc-protobuf:1.10.0'
|
||||
compile 'io.grpc:grpc-stub:1.10.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.9.0'
|
||||
compile 'io.grpc:grpc-protobuf-lite:1.9.0'
|
||||
compile 'io.grpc:grpc-stub:1.9.0'
|
||||
compile 'io.grpc:grpc-okhttp:1.10.0'
|
||||
compile 'io.grpc:grpc-protobuf-lite:1.10.0'
|
||||
compile 'io.grpc:grpc-stub:1.10.0'
|
||||
```
|
||||
|
||||
[the JARs]:
|
||||
|
@ -89,7 +89,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.9.0:exe:${os.detected.classifier}</pluginArtifact>
|
||||
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.10.0:exe:${os.detected.classifier}</pluginArtifact>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
|
@ -129,7 +129,7 @@ protobuf {
|
|||
}
|
||||
plugins {
|
||||
grpc {
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.9.0'
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.10.0'
|
||||
}
|
||||
}
|
||||
generateProtoTasks {
|
||||
|
|
Loading…
Reference in New Issue