@@ -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.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 )
36
36
are standalone projects that showcase the usage of gRPC.
37
37
38
38
Download
@@ -43,18 +43,18 @@ 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.45.1 </version >
46
+ <version >1.47.0 </version >
47
47
<scope >runtime</scope >
48
48
</dependency >
49
49
<dependency >
50
50
<groupId >io.grpc</groupId >
51
51
<artifactId >grpc-protobuf</artifactId >
52
- <version >1.45.1 </version >
52
+ <version >1.47.0 </version >
53
53
</dependency >
54
54
<dependency >
55
55
<groupId >io.grpc</groupId >
56
56
<artifactId >grpc-stub</artifactId >
57
- <version >1.45.1 </version >
57
+ <version >1.47.0 </version >
58
58
</dependency >
59
59
<dependency > <!-- necessary for Java 9+ -->
60
60
<groupId >org.apache.tomcat</groupId >
@@ -66,23 +66,23 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
66
66
67
67
Or for Gradle with non-Android, add to your dependencies:
68
68
``` 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 '
72
72
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
73
73
```
74
74
75
75
For Android client, use ` grpc-okhttp ` instead of ` grpc-netty-shaded ` and
76
76
` grpc-protobuf-lite ` instead of ` grpc-protobuf ` :
77
77
``` 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 '
81
81
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
82
82
```
83
83
84
84
[ 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
86
86
87
87
Development snapshots are available in [ Sonatypes's snapshot
88
88
repository] ( https://oss.sonatype.org/content/repositories/snapshots/ ) .
@@ -114,7 +114,7 @@ For protobuf-based codegen integrated with the Maven build system, you can use
114
114
<configuration >
115
115
<protocArtifact >com.google.protobuf:protoc:3.19.2:exe:${os.detected.classifier}</protocArtifact >
116
116
<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 >
118
118
</configuration >
119
119
<executions >
120
120
<execution >
@@ -135,7 +135,7 @@ For non-Android protobuf-based codegen integrated with the Gradle build system,
135
135
you can use [ protobuf-gradle-plugin] [ ] :
136
136
``` gradle
137
137
plugins {
138
- id 'com.google.protobuf' version '0.8.17 '
138
+ id 'com.google.protobuf' version '0.8.18 '
139
139
}
140
140
141
141
protobuf {
@@ -144,7 +144,7 @@ protobuf {
144
144
}
145
145
plugins {
146
146
grpc {
147
- artifact = 'io.grpc:protoc-gen-grpc-java:1.45.1 '
147
+ artifact = 'io.grpc:protoc-gen-grpc-java:1.47.0 '
148
148
}
149
149
}
150
150
generateProtoTasks {
@@ -168,7 +168,7 @@ use protobuf-gradle-plugin but specify the 'lite' options:
168
168
169
169
``` gradle
170
170
plugins {
171
- id 'com.google.protobuf' version '0.8.17 '
171
+ id 'com.google.protobuf' version '0.8.18 '
172
172
}
173
173
174
174
protobuf {
@@ -177,7 +177,7 @@ protobuf {
177
177
}
178
178
plugins {
179
179
grpc {
180
- artifact = 'io.grpc:protoc-gen-grpc-java:1.45.1 '
180
+ artifact = 'io.grpc:protoc-gen-grpc-java:1.47.0 '
181
181
}
182
182
}
183
183
generateProtoTasks {
0 commit comments