aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2018-08-02 16:00:12 -0700
committerEric Anderson <ejona@google.com>2018-08-02 16:58:59 -0700
commitb64cde1488a69559386a56a4a809d2e6046c4c18 (patch)
tree327228f11fc57a1e25d3e802d79913ef7be585e3 /README.md
parent478f006d3eaa0e1832aef4b85ff8e96a4bc12841 (diff)
downloadgrpc-grpc-java-b64cde1488a69559386a56a4a809d2e6046c4c18.tar.gz
Encourage using grpc-netty-shaded instead of grpc-netty
grpc-netty is still really useful, but for most users who aren't doing anything advanced using grpc-netty-shaded is much safer from a dependency basis. grpc-netty-shaded has seen more usage and has shown itself to be stable and reduce the number of conflicts due to Netty versions.
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 8ce46ed60..b28dd6aa0 100644
--- a/README.md
+++ b/README.md
@@ -30,7 +30,7 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
```xml
<dependency>
<groupId>io.grpc</groupId>
- <artifactId>grpc-netty</artifactId>
+ <artifactId>grpc-netty-shaded</artifactId>
<version>1.14.0</version>
</dependency>
<dependency>
@@ -47,12 +47,12 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
Or for Gradle with non-Android, add to your dependencies:
```gradle
-compile 'io.grpc:grpc-netty:1.14.0'
+compile 'io.grpc:grpc-netty-shaded:1.14.0'
compile 'io.grpc:grpc-protobuf:1.14.0'
compile 'io.grpc:grpc-stub:1.14.0'
```
-For Android client, use `grpc-okhttp` instead of `grpc-netty` and
+For Android client, use `grpc-okhttp` instead of `grpc-netty-shaded` and
`grpc-protobuf-lite` or `grpc-protobuf-nano` instead of `grpc-protobuf`:
```gradle
compile 'io.grpc:grpc-okhttp:1.14.0'