From b466d8d380650ca017d24339485dcbc3e47d8100 Mon Sep 17 00:00:00 2001 From: Zhaonian Luan Date: Fri, 21 Jun 2019 14:28:54 -0700 Subject: [PATCH] README.md: Updated compile to implementation. (#5914) --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index a9587485f1..07ad2926f0 100644 --- a/README.md +++ b/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: ```gradle -compile 'io.grpc:grpc-netty-shaded:1.21.0' -compile 'io.grpc:grpc-protobuf:1.21.0' -compile 'io.grpc:grpc-stub:1.21.0' +implementation 'io.grpc:grpc-netty-shaded:1.21.0' +implementation 'io.grpc:grpc-protobuf:1.21.0' +implementation 'io.grpc:grpc-stub:1.21.0' ``` For Android client, use `grpc-okhttp` instead of `grpc-netty-shaded` and `grpc-protobuf-lite` instead of `grpc-protobuf`: ```gradle -compile 'io.grpc:grpc-okhttp:1.21.0' -compile 'io.grpc:grpc-protobuf-lite:1.21.0' -compile 'io.grpc:grpc-stub:1.21.0' +implementation 'io.grpc:grpc-okhttp:1.21.0' +implementation 'io.grpc:grpc-protobuf-lite:1.21.0' +implementation 'io.grpc:grpc-stub:1.21.0' ``` [the JARs]: