mirror of https://github.com/grpc/grpc-java.git
Update README to reference 1.0.0
This commit is contained in:
parent
9d747bbbcd
commit
57b9dd467f
28
README.md
28
README.md
|
|
@ -27,37 +27,37 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.grpc</groupId>
|
<groupId>io.grpc</groupId>
|
||||||
<artifactId>grpc-netty</artifactId>
|
<artifactId>grpc-netty</artifactId>
|
||||||
<version>0.15.0</version>
|
<version>1.0.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.grpc</groupId>
|
<groupId>io.grpc</groupId>
|
||||||
<artifactId>grpc-protobuf</artifactId>
|
<artifactId>grpc-protobuf</artifactId>
|
||||||
<version>0.15.0</version>
|
<version>1.0.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>io.grpc</groupId>
|
<groupId>io.grpc</groupId>
|
||||||
<artifactId>grpc-stub</artifactId>
|
<artifactId>grpc-stub</artifactId>
|
||||||
<version>0.15.0</version>
|
<version>1.0.0</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
Or for Gradle with non-Android, add to your dependencies:
|
Or for Gradle with non-Android, add to your dependencies:
|
||||||
```gradle
|
```gradle
|
||||||
compile 'io.grpc:grpc-netty:0.15.0'
|
compile 'io.grpc:grpc-netty:1.0.0'
|
||||||
compile 'io.grpc:grpc-protobuf:0.15.0'
|
compile 'io.grpc:grpc-protobuf:1.0.0'
|
||||||
compile 'io.grpc:grpc-stub:0.15.0'
|
compile 'io.grpc:grpc-stub:1.0.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
For Android client, use `grpc-okhttp` instead of `grpc-netty` and
|
For Android client, use `grpc-okhttp` instead of `grpc-netty` and
|
||||||
`grpc-protobuf-lite` or `grpc-protobuf-nano` instead of `grpc-protobuf`:
|
`grpc-protobuf-lite` or `grpc-protobuf-nano` instead of `grpc-protobuf`:
|
||||||
```gradle
|
```gradle
|
||||||
compile 'io.grpc:grpc-okhttp:0.15.0'
|
compile 'io.grpc:grpc-okhttp:1.0.0'
|
||||||
compile 'io.grpc:grpc-protobuf-lite:0.15.0'
|
compile 'io.grpc:grpc-protobuf-lite:1.0.0'
|
||||||
compile 'io.grpc:grpc-stub:0.15.0'
|
compile 'io.grpc:grpc-stub:1.0.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
[the JARs]:
|
[the JARs]:
|
||||||
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%220.14.0%22
|
http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%221.0.0%22
|
||||||
|
|
||||||
Development snapshots are available in [Sonatypes's snapshot
|
Development snapshots are available in [Sonatypes's snapshot
|
||||||
repository](https://oss.sonatype.org/content/repositories/snapshots/).
|
repository](https://oss.sonatype.org/content/repositories/snapshots/).
|
||||||
|
|
@ -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 directly, you will be transitively depending on the
|
||||||
protobuf-java version that grpc depends on.
|
protobuf-java version that grpc depends on.
|
||||||
-->
|
-->
|
||||||
<protocArtifact>com.google.protobuf:protoc:3.0.0-beta-3:exe:${os.detected.classifier}</protocArtifact>
|
<protocArtifact>com.google.protobuf:protoc:3.0.0:exe:${os.detected.classifier}</protocArtifact>
|
||||||
<pluginId>grpc-java</pluginId>
|
<pluginId>grpc-java</pluginId>
|
||||||
<pluginArtifact>io.grpc:protoc-gen-grpc-java:0.15.0:exe:${os.detected.classifier}</pluginArtifact>
|
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.0.0:exe:${os.detected.classifier}</pluginArtifact>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
|
|
@ -128,11 +128,11 @@ protobuf {
|
||||||
// The version of protoc must match protobuf-java. If you don't depend on
|
// 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 directly, you will be transitively depending on the
|
||||||
// protobuf-java version that grpc depends on.
|
// protobuf-java version that grpc depends on.
|
||||||
artifact = "com.google.protobuf:protoc:3.0.0-beta-3"
|
artifact = "com.google.protobuf:protoc:3.0.0"
|
||||||
}
|
}
|
||||||
plugins {
|
plugins {
|
||||||
grpc {
|
grpc {
|
||||||
artifact = 'io.grpc:protoc-gen-grpc-java:0.15.0'
|
artifact = 'io.grpc:protoc-gen-grpc-java:1.0.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
generateProtoTasks {
|
generateProtoTasks {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue