Skip to content

Commit 1b62084

Browse files
committed
Update README etc to reference 1.47.0, protobuf plugin 0.8.18
1 parent 84edc33 commit 1b62084

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

README.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ For a guided tour, take a look at the [quick start
3131
guide](https://grpc.io/docs/languages/java/quickstart) or the more explanatory [gRPC
3232
basics](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)
3636
are standalone projects that showcase the usage of gRPC.
3737

3838
Download
@@ -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

6767
Or 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'
7272
compileOnly 'org.apache.tomcat:annotations-api:6.0.53' // necessary for Java 9+
7373
```
7474

7575
For 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'
8181
compileOnly '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

8787
Development snapshots are available in [Sonatypes's snapshot
8888
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
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,
135135
you can use [protobuf-gradle-plugin][]:
136136
```gradle
137137
plugins {
138-
id 'com.google.protobuf' version '0.8.17'
138+
id 'com.google.protobuf' version '0.8.18'
139139
}
140140
141141
protobuf {
@@ -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
170170
plugins {
171-
id 'com.google.protobuf' version '0.8.17'
171+
id 'com.google.protobuf' version '0.8.18'
172172
}
173173
174174
protobuf {
@@ -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 {

cronet/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In your app module's `build.gradle` file, include a dependency on both `grpc-cro
2626
Google Play Services Client Library for Cronet
2727

2828
```
29-
implementation 'io.grpc:grpc-cronet:1.45.1'
29+
implementation 'io.grpc:grpc-cronet:1.47.0'
3030
implementation 'com.google.android.gms:play-services-cronet:16.0.0'
3131
```
3232

documentation/android-channel-builder.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ In your `build.gradle` file, include a dependency on both `grpc-android` and
3636
`grpc-okhttp`:
3737

3838
```
39-
implementation 'io.grpc:grpc-android:1.45.1'
40-
implementation 'io.grpc:grpc-okhttp:1.45.1'
39+
implementation 'io.grpc:grpc-android:1.47.0'
40+
implementation 'io.grpc:grpc-okhttp:1.47.0'
4141
```
4242

4343
You also need permission to access the device's network state in your

0 commit comments

Comments
 (0)