Skip to content

Commit 6ffba86

Browse files
committed
Update README etc to reference 1.48.0
1 parent 3f47a6e commit 6ffba86

File tree

4 files changed

+22
-22
lines changed

4 files changed

+22
-22
lines changed

README.md

Lines changed: 18 additions & 18 deletions
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.47.0/examples) and the
35-
[Android example](https://github.com/grpc/grpc-java/tree/v1.47.0/examples/android)
34+
The [examples](https://github.com/grpc/grpc-java/tree/v1.48.0/examples) and the
35+
[Android example](https://github.com/grpc/grpc-java/tree/v1.48.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.47.0</version>
46+
<version>1.48.0</version>
4747
<scope>runtime</scope>
4848
</dependency>
4949
<dependency>
5050
<groupId>io.grpc</groupId>
5151
<artifactId>grpc-protobuf</artifactId>
52-
<version>1.47.0</version>
52+
<version>1.48.0</version>
5353
</dependency>
5454
<dependency>
5555
<groupId>io.grpc</groupId>
5656
<artifactId>grpc-stub</artifactId>
57-
<version>1.47.0</version>
57+
<version>1.48.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.47.0'
70-
implementation 'io.grpc:grpc-protobuf:1.47.0'
71-
implementation 'io.grpc:grpc-stub:1.47.0'
69+
runtimeOnly 'io.grpc:grpc-netty-shaded:1.48.0'
70+
implementation 'io.grpc:grpc-protobuf:1.48.0'
71+
implementation 'io.grpc:grpc-stub:1.48.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.47.0'
79-
implementation 'io.grpc:grpc-protobuf-lite:1.47.0'
80-
implementation 'io.grpc:grpc-stub:1.47.0'
78+
implementation 'io.grpc:grpc-okhttp:1.48.0'
79+
implementation 'io.grpc:grpc-protobuf-lite:1.48.0'
80+
implementation 'io.grpc:grpc-stub:1.48.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.47.0
85+
https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.48.0
8686

8787
Development snapshots are available in [Sonatypes's snapshot
8888
repository](https://oss.sonatype.org/content/repositories/snapshots/).
@@ -112,9 +112,9 @@ For protobuf-based codegen integrated with the Maven build system, you can use
112112
<artifactId>protobuf-maven-plugin</artifactId>
113113
<version>0.6.1</version>
114114
<configuration>
115-
<protocArtifact>com.google.protobuf:protoc:3.19.2:exe:${os.detected.classifier}</protocArtifact>
115+
<protocArtifact>com.google.protobuf:protoc:3.21.1:exe:${os.detected.classifier}</protocArtifact>
116116
<pluginId>grpc-java</pluginId>
117-
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.47.0:exe:${os.detected.classifier}</pluginArtifact>
117+
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.48.0:exe:${os.detected.classifier}</pluginArtifact>
118118
</configuration>
119119
<executions>
120120
<execution>
@@ -140,11 +140,11 @@ plugins {
140140
141141
protobuf {
142142
protoc {
143-
artifact = "com.google.protobuf:protoc:3.19.2"
143+
artifact = "com.google.protobuf:protoc:3.21.1"
144144
}
145145
plugins {
146146
grpc {
147-
artifact = 'io.grpc:protoc-gen-grpc-java:1.47.0'
147+
artifact = 'io.grpc:protoc-gen-grpc-java:1.48.0'
148148
}
149149
}
150150
generateProtoTasks {
@@ -173,11 +173,11 @@ plugins {
173173
174174
protobuf {
175175
protoc {
176-
artifact = "com.google.protobuf:protoc:3.19.2"
176+
artifact = "com.google.protobuf:protoc:3.21.1"
177177
}
178178
plugins {
179179
grpc {
180-
artifact = 'io.grpc:protoc-gen-grpc-java:1.47.0'
180+
artifact = 'io.grpc:protoc-gen-grpc-java:1.48.0'
181181
}
182182
}
183183
generateProtoTasks {

RELEASING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Tagging the Release
109109
$ git pull upstream v$MAJOR.$MINOR.x
110110
$ git checkout -b release
111111
# Bump documented gRPC versions.
112-
# Also update protoc version to match protocVersion in build.gradle.
112+
# Also update protoc version to match protobuf version in gradle/libs.versions.toml.
113113
$ ${EDITOR:-nano -w} README.md
114114
$ ${EDITOR:-nano -w} documentation/android-channel-builder.md
115115
$ ${EDITOR:-nano -w} cronet/README.md

cronet/README.md

Lines changed: 1 addition & 1 deletion
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.47.0'
29+
implementation 'io.grpc:grpc-cronet:1.48.0'
3030
implementation 'com.google.android.gms:play-services-cronet:16.0.0'
3131
```
3232

documentation/android-channel-builder.md

Lines changed: 2 additions & 2 deletions
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.47.0'
40-
implementation 'io.grpc:grpc-okhttp:1.47.0'
39+
implementation 'io.grpc:grpc-android:1.48.0'
40+
implementation 'io.grpc:grpc-okhttp:1.48.0'
4141
```
4242

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

0 commit comments

Comments
 (0)