@@ -31,8 +31,8 @@ For a guided tour, take a look at the [quick start
3131guide] ( https://grpc.io/docs/languages/java/quickstart ) or the more explanatory [ gRPC
3232basics] ( https://grpc.io/docs/languages/java/basics ) .
3333
34- The [ examples] ( https://github.com/grpc/grpc-java/tree/v1.45.1 /examples ) and the
35- [ Android example] ( https://github.com/grpc/grpc-java/tree/v1.45.1 /examples/android )
34+ The [ examples] ( https://github.com/grpc/grpc-java/tree/v1.47.0 /examples ) and the
35+ [ Android example] ( https://github.com/grpc/grpc-java/tree/v1.47.0 /examples/android )
3636are standalone projects that showcase the usage of gRPC.
3737
3838Download
@@ -43,18 +43,18 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
4343<dependency >
4444 <groupId >io.grpc</groupId >
4545 <artifactId >grpc-netty-shaded</artifactId >
46- <version >1.45.1 </version >
46+ <version >1.47.0 </version >
4747 <scope >runtime</scope >
4848</dependency >
4949<dependency >
5050 <groupId >io.grpc</groupId >
5151 <artifactId >grpc-protobuf</artifactId >
52- <version >1.45.1 </version >
52+ <version >1.47.0 </version >
5353</dependency >
5454<dependency >
5555 <groupId >io.grpc</groupId >
5656 <artifactId >grpc-stub</artifactId >
57- <version >1.45.1 </version >
57+ <version >1.47.0 </version >
5858</dependency >
5959<dependency > <!-- necessary for Java 9+ -->
6060 <groupId >org.apache.tomcat</groupId >
@@ -66,23 +66,23 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
6666
6767Or for Gradle with non-Android, add to your dependencies:
6868``` gradle
69- runtimeOnly 'io.grpc:grpc-netty-shaded:1.45.1 '
70- implementation 'io.grpc:grpc-protobuf:1.45.1 '
71- implementation 'io.grpc:grpc-stub:1.45.1 '
69+ runtimeOnly 'io.grpc:grpc-netty-shaded:1.47.0 '
70+ implementation 'io.grpc:grpc-protobuf:1.47.0 '
71+ implementation 'io.grpc:grpc-stub:1.47.0 '
7272compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
7373```
7474
7575For Android client, use ` grpc-okhttp ` instead of ` grpc-netty-shaded ` and
7676` grpc-protobuf-lite ` instead of ` grpc-protobuf ` :
7777``` gradle
78- implementation 'io.grpc:grpc-okhttp:1.45.1 '
79- implementation 'io.grpc:grpc-protobuf-lite:1.45.1 '
80- implementation 'io.grpc:grpc-stub:1.45.1 '
78+ implementation 'io.grpc:grpc-okhttp:1.47.0 '
79+ implementation 'io.grpc:grpc-protobuf-lite:1.47.0 '
80+ implementation 'io.grpc:grpc-stub:1.47.0 '
8181compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
8282```
8383
8484[ the JARs] :
85- https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.45.1
85+ https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.47.0
8686
8787Development snapshots are available in [ Sonatypes's snapshot
8888repository] ( https://oss.sonatype.org/content/repositories/snapshots/ ) .
@@ -114,7 +114,7 @@ For protobuf-based codegen integrated with the Maven build system, you can use
114114 <configuration >
115115 <protocArtifact >com.google.protobuf:protoc:3.19.2:exe:${os.detected.classifier}</protocArtifact >
116116 <pluginId >grpc-java</pluginId >
117- <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.45.1 :exe:${os.detected.classifier}</pluginArtifact >
117+ <pluginArtifact >io.grpc:protoc-gen-grpc-java:1.47.0 :exe:${os.detected.classifier}</pluginArtifact >
118118 </configuration >
119119 <executions >
120120 <execution >
@@ -135,7 +135,7 @@ For non-Android protobuf-based codegen integrated with the Gradle build system,
135135you can use [ protobuf-gradle-plugin] [ ] :
136136``` gradle
137137plugins {
138- id 'com.google.protobuf' version '0.8.17 '
138+ id 'com.google.protobuf' version '0.8.18 '
139139}
140140
141141protobuf {
@@ -144,7 +144,7 @@ protobuf {
144144 }
145145 plugins {
146146 grpc {
147- artifact = 'io.grpc:protoc-gen-grpc-java:1.45.1 '
147+ artifact = 'io.grpc:protoc-gen-grpc-java:1.47.0 '
148148 }
149149 }
150150 generateProtoTasks {
@@ -168,7 +168,7 @@ use protobuf-gradle-plugin but specify the 'lite' options:
168168
169169``` gradle
170170plugins {
171- id 'com.google.protobuf' version '0.8.17 '
171+ id 'com.google.protobuf' version '0.8.18 '
172172}
173173
174174protobuf {
@@ -177,7 +177,7 @@ protobuf {
177177 }
178178 plugins {
179179 grpc {
180- artifact = 'io.grpc:protoc-gen-grpc-java:1.45.1 '
180+ artifact = 'io.grpc:protoc-gen-grpc-java:1.47.0 '
181181 }
182182 }
183183 generateProtoTasks {
0 commit comments