mirror of https://github.com/grpc/grpc-java.git
README.md: Updated compile to implementation. (#5914)
This commit is contained in:
parent
81391c1fad
commit
b466d8d380
12
README.md
12
README.md
|
|
@ -58,17 +58,17 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
|
||||||
|
|
||||||
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-shaded:1.21.0'
|
implementation 'io.grpc:grpc-netty-shaded:1.21.0'
|
||||||
compile 'io.grpc:grpc-protobuf:1.21.0'
|
implementation 'io.grpc:grpc-protobuf:1.21.0'
|
||||||
compile 'io.grpc:grpc-stub:1.21.0'
|
implementation 'io.grpc:grpc-stub:1.21.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
For Android client, use `grpc-okhttp` instead of `grpc-netty-shaded` and
|
For Android client, use `grpc-okhttp` instead of `grpc-netty-shaded` and
|
||||||
`grpc-protobuf-lite` instead of `grpc-protobuf`:
|
`grpc-protobuf-lite` instead of `grpc-protobuf`:
|
||||||
```gradle
|
```gradle
|
||||||
compile 'io.grpc:grpc-okhttp:1.21.0'
|
implementation 'io.grpc:grpc-okhttp:1.21.0'
|
||||||
compile 'io.grpc:grpc-protobuf-lite:1.21.0'
|
implementation 'io.grpc:grpc-protobuf-lite:1.21.0'
|
||||||
compile 'io.grpc:grpc-stub:1.21.0'
|
implementation 'io.grpc:grpc-stub:1.21.0'
|
||||||
```
|
```
|
||||||
|
|
||||||
[the JARs]:
|
[the JARs]:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue