Skip to content

Commit 24e345c

Browse files
readme: grpc-netty-shaded runtime scope
We should recommend runtime scope for grpc-netty-shaded. grpc#8606 (comment)
1 parent e474e3d commit 24e345c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
4444
<groupId>io.grpc</groupId>
4545
<artifactId>grpc-netty-shaded</artifactId>
4646
<version>1.43.1</version>
47+
<scope>runtime</scope>
4748
</dependency>
4849
<dependency>
4950
<groupId>io.grpc</groupId>
@@ -65,7 +66,7 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
6566

6667
Or for Gradle with non-Android, add to your dependencies:
6768
```gradle
68-
implementation 'io.grpc:grpc-netty-shaded:1.43.1'
69+
runtimeOnly 'io.grpc:grpc-netty-shaded:1.43.1'
6970
implementation 'io.grpc:grpc-protobuf:1.43.1'
7071
implementation 'io.grpc:grpc-stub:1.43.1'
7172
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+

0 commit comments

Comments
 (0)