Skip to content

Commit 85bdca4

Browse files
committed
Bump Protobuf to 3.21.7
1 parent ba8cd04 commit 85bdca4

File tree

20 files changed

+28
-28
lines changed

20 files changed

+28
-28
lines changed

COMPILING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ This section is only necessary if you are making changes to the code
4444
generation. Most users only need to use `skipCodegen=true` as discussed above.
4545

4646
### Build Protobuf
47-
The codegen plugin is C++ code and requires protobuf 3.21.1 or later.
47+
The codegen plugin is C++ code and requires protobuf 3.21.7 or later.
4848

4949
For Linux, Mac and MinGW:
5050
```
51-
$ PROTOBUF_VERSION=3.21.1
51+
$ PROTOBUF_VERSION=3.21.7
5252
$ curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-all-$PROTOBUF_VERSION.tar.gz
5353
$ tar xzf protobuf-all-$PROTOBUF_VERSION.tar.gz
5454
$ cd protobuf-$PROTOBUF_VERSION

examples/android/clientcache/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ android {
3232
}
3333

3434
protobuf {
35-
protoc { artifact = 'com.google.protobuf:protoc:3.21.1' }
35+
protoc { artifact = 'com.google.protobuf:protoc:3.21.7' }
3636
plugins {
3737
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.51.0-SNAPSHOT' // CURRENT_GRPC_VERSION
3838
}

examples/android/helloworld/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030
}
3131

3232
protobuf {
33-
protoc { artifact = 'com.google.protobuf:protoc:3.21.1' }
33+
protoc { artifact = 'com.google.protobuf:protoc:3.21.7' }
3434
plugins {
3535
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.51.0-SNAPSHOT' // CURRENT_GRPC_VERSION
3636
}

examples/android/routeguide/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030
}
3131

3232
protobuf {
33-
protoc { artifact = 'com.google.protobuf:protoc:3.21.1' }
33+
protoc { artifact = 'com.google.protobuf:protoc:3.21.7' }
3434
plugins {
3535
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.51.0-SNAPSHOT' // CURRENT_GRPC_VERSION
3636
}

examples/android/strictmode/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ android {
3131
}
3232

3333
protobuf {
34-
protoc { artifact = 'com.google.protobuf:protoc:3.21.1' }
34+
protoc { artifact = 'com.google.protobuf:protoc:3.21.7' }
3535
plugins {
3636
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.51.0-SNAPSHOT' // CURRENT_GRPC_VERSION
3737
}

examples/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ targetCompatibility = 1.8
2323
// Feel free to delete the comment at the next line. It is just for safely
2424
// updating the version in our release process.
2525
def grpcVersion = '1.51.0-SNAPSHOT' // CURRENT_GRPC_VERSION
26-
def protobufVersion = '3.21.1'
26+
def protobufVersion = '3.21.7'
2727
def protocVersion = protobufVersion
2828

2929
dependencies {

examples/example-alts/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ targetCompatibility = 1.8
2424
// Feel free to delete the comment at the next line. It is just for safely
2525
// updating the version in our release process.
2626
def grpcVersion = '1.51.0-SNAPSHOT' // CURRENT_GRPC_VERSION
27-
def protocVersion = '3.21.1'
27+
def protocVersion = '3.21.7'
2828

2929
dependencies {
3030
// grpc-alts transitively depends on grpc-netty-shaded, grpc-protobuf, and grpc-stub

examples/example-gauth/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ targetCompatibility = 1.8
2424
// Feel free to delete the comment at the next line. It is just for safely
2525
// updating the version in our release process.
2626
def grpcVersion = '1.51.0-SNAPSHOT' // CURRENT_GRPC_VERSION
27-
def protobufVersion = '3.21.1'
27+
def protobufVersion = '3.21.7'
2828
def protocVersion = protobufVersion
2929

3030

examples/example-gauth/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<properties>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
<grpc.version>1.51.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
16-
<protobuf.version>3.21.1</protobuf.version>
16+
<protobuf.version>3.21.7</protobuf.version>
1717
<!-- required for jdk9 -->
1818
<maven.compiler.source>1.7</maven.compiler.source>
1919
<maven.compiler.target>1.7</maven.compiler.target>

examples/example-hostname/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ targetCompatibility = 1.8
2222
// Feel free to delete the comment at the next line. It is just for safely
2323
// updating the version in our release process.
2424
def grpcVersion = '1.51.0-SNAPSHOT' // CURRENT_GRPC_VERSION
25-
def protobufVersion = '3.21.1'
25+
def protobufVersion = '3.21.7'
2626

2727
dependencies {
2828
implementation "io.grpc:grpc-protobuf:${grpcVersion}"

0 commit comments

Comments
 (0)