@@ -31,8 +31,8 @@ For a guided tour, take a look at the [quick start
31
31
guide] ( https://grpc.io/docs/languages/java/quickstart ) or the more explanatory [ gRPC
32
32
basics] ( https://grpc.io/docs/languages/java/basics ) .
33
33
34
- The [ examples] ( https://github.com/grpc/grpc-java/tree/v1.42.0 /examples ) and the
35
- [ Android example] ( https://github.com/grpc/grpc-java/tree/v1.42.0 /examples/android )
34
+ The [ examples] ( https://github.com/grpc/grpc-java/tree/v1.42.1 /examples ) and the
35
+ [ Android example] ( https://github.com/grpc/grpc-java/tree/v1.42.1 /examples/android )
36
36
are standalone projects that showcase the usage of gRPC.
37
37
38
38
Download
@@ -43,17 +43,17 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
43
43
<dependency >
44
44
<groupId >io.grpc</groupId >
45
45
<artifactId >grpc-netty-shaded</artifactId >
46
- <version >1.42.0 </version >
46
+ <version >1.42.1 </version >
47
47
</dependency >
48
48
<dependency >
49
49
<groupId >io.grpc</groupId >
50
50
<artifactId >grpc-protobuf</artifactId >
51
- <version >1.42.0 </version >
51
+ <version >1.42.1 </version >
52
52
</dependency >
53
53
<dependency >
54
54
<groupId >io.grpc</groupId >
55
55
<artifactId >grpc-stub</artifactId >
56
- <version >1.42.0 </version >
56
+ <version >1.42.1 </version >
57
57
</dependency >
58
58
<dependency > <!-- necessary for Java 9+ -->
59
59
<groupId >org.apache.tomcat</groupId >
@@ -65,23 +65,23 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
65
65
66
66
Or for Gradle with non-Android, add to your dependencies:
67
67
``` gradle
68
- implementation 'io.grpc:grpc-netty-shaded:1.42.0 '
69
- implementation 'io.grpc:grpc-protobuf:1.42.0 '
70
- implementation 'io.grpc:grpc-stub:1.42.0 '
68
+ implementation 'io.grpc:grpc-netty-shaded:1.42.1 '
69
+ implementation 'io.grpc:grpc-protobuf:1.42.1 '
70
+ implementation 'io.grpc:grpc-stub:1.42.1 '
71
71
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
72
72
```
73
73
74
74
For Android client, use ` grpc-okhttp ` instead of ` grpc-netty-shaded ` and
75
75
` grpc-protobuf-lite ` instead of ` grpc-protobuf ` :
76
76
``` gradle
77
- implementation 'io.grpc:grpc-okhttp:1.42.0 '
78
- implementation 'io.grpc:grpc-protobuf-lite:1.42.0 '
79
- implementation 'io.grpc:grpc-stub:1.42.0 '
77
+ implementation 'io.grpc:grpc-okhttp:1.42.1 '
78
+ implementation 'io.grpc:grpc-protobuf-lite:1.42.1 '
79
+ implementation 'io.grpc:grpc-stub:1.42.1 '
80
80
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
81
81
```
82
82
83
83
[ the JARs] :
84
- https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.42.0
84
+ https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.42.1
85
85
86
86
Development snapshots are available in [ Sonatypes's snapshot
87
87
repository] ( https://oss.sonatype.org/content/repositories/snapshots/ ) .
@@ -111,9 +111,9 @@ For protobuf-based codegen integrated with the Maven build system, you can use
111
111
<artifactId >protobuf-maven-plugin</artifactId >
112
112
<version >0.6.1</version >
113
113
<configuration >
114
- <protocArtifact >com.google.protobuf:protoc:3.17.3 :exe:${os.detected.classifier}</protocArtifact >
114
+ <protocArtifact >com.google.protobuf:protoc:3.17.2 :exe:${os.detected.classifier}</protocArtifact >
115
115
<pluginId >grpc-java</pluginId >
116
- <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.42.0 :exe:${os.detected.classifier}</pluginArtifact >
116
+ <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.42.1 :exe:${os.detected.classifier}</pluginArtifact >
117
117
</configuration >
118
118
<executions >
119
119
<execution >
@@ -139,11 +139,11 @@ plugins {
139
139
140
140
protobuf {
141
141
protoc {
142
- artifact = "com.google.protobuf:protoc:3.17.3 "
142
+ artifact = "com.google.protobuf:protoc:3.17.2 "
143
143
}
144
144
plugins {
145
145
grpc {
146
- artifact = 'io.grpc:protoc-gen-grpc-java:1.42.0 '
146
+ artifact = 'io.grpc:protoc-gen-grpc-java:1.42.1 '
147
147
}
148
148
}
149
149
generateProtoTasks {
@@ -172,11 +172,11 @@ plugins {
172
172
173
173
protobuf {
174
174
protoc {
175
- artifact = "com.google.protobuf:protoc:3.17.3 "
175
+ artifact = "com.google.protobuf:protoc:3.17.2 "
176
176
}
177
177
plugins {
178
178
grpc {
179
- artifact = 'io.grpc:protoc-gen-grpc-java:1.42.0 '
179
+ artifact = 'io.grpc:protoc-gen-grpc-java:1.42.1 '
180
180
}
181
181
}
182
182
generateProtoTasks {
0 commit comments