File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -69,20 +69,13 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
6969 <artifactId >grpc-stub</artifactId >
7070 <version >1.74.0</version >
7171</dependency >
72- <dependency > <!-- necessary for Java 9+ -->
73- <groupId >org.apache.tomcat</groupId >
74- <artifactId >annotations-api</artifactId >
75- <version >6.0.53</version >
76- <scope >provided</scope >
77- </dependency >
7872```
7973
8074Or for Gradle with non-Android, add to your dependencies:
8175``` gradle
8276runtimeOnly 'io.grpc:grpc-netty-shaded:1.74.0'
8377implementation 'io.grpc:grpc-protobuf:1.74.0'
8478implementation 'io.grpc:grpc-stub:1.74.0'
85- compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
8679```
8780
8881For Android client, use ` grpc-okhttp ` instead of ` grpc-netty-shaded ` and
@@ -91,7 +84,6 @@ For Android client, use `grpc-okhttp` instead of `grpc-netty-shaded` and
9184implementation 'io.grpc:grpc-okhttp:1.74.0'
9285implementation 'io.grpc:grpc-protobuf-lite:1.74.0'
9386implementation 'io.grpc:grpc-stub:1.74.0'
94- compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
9587```
9688
9789For [ Bazel] ( https://bazel.build ) , you can either
You can’t perform that action at this time.
0 commit comments