mirror of https://github.com/grpc/grpc-java.git
Upgrade protobuf-java and protoc to 3.24.0
This commit is contained in:
parent
cebb4659a1
commit
f8baa9ca1d
|
|
@ -32,7 +32,7 @@ android {
|
|||
}
|
||||
|
||||
protobuf {
|
||||
protoc { artifact = 'com.google.protobuf:protoc:3.23.4' }
|
||||
protoc { artifact = 'com.google.protobuf:protoc:3.24.0' }
|
||||
plugins {
|
||||
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ android {
|
|||
}
|
||||
|
||||
protobuf {
|
||||
protoc { artifact = 'com.google.protobuf:protoc:3.23.4' }
|
||||
protoc { artifact = 'com.google.protobuf:protoc:3.24.0' }
|
||||
plugins {
|
||||
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ android {
|
|||
}
|
||||
|
||||
protobuf {
|
||||
protoc { artifact = 'com.google.protobuf:protoc:3.23.4' }
|
||||
protoc { artifact = 'com.google.protobuf:protoc:3.24.0' }
|
||||
plugins {
|
||||
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ android {
|
|||
}
|
||||
|
||||
protobuf {
|
||||
protoc { artifact = 'com.google.protobuf:protoc:3.23.4' }
|
||||
protoc { artifact = 'com.google.protobuf:protoc:3.24.0' }
|
||||
plugins {
|
||||
grpc { artifact = 'io.grpc:protoc-gen-grpc-java:1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
}
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ java {
|
|||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protobufVersion = '3.23.4'
|
||||
def protobufVersion = '3.24.0'
|
||||
def protocVersion = protobufVersion
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ java {
|
|||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protocVersion = '3.23.4'
|
||||
def protocVersion = '3.24.0'
|
||||
|
||||
dependencies {
|
||||
// grpc-alts transitively depends on grpc-netty-shaded, grpc-protobuf, and grpc-stub
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ java {
|
|||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protobufVersion = '3.23.4'
|
||||
def protobufVersion = '3.24.0'
|
||||
|
||||
dependencies {
|
||||
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<grpc.version>1.58.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
|
||||
<protoc.version>3.23.4</protoc.version>
|
||||
<protoc.version>3.24.0</protoc.version>
|
||||
<!-- required for jdk9 -->
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ java {
|
|||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protobufVersion = '3.23.4'
|
||||
def protobufVersion = '3.24.0'
|
||||
def protocVersion = protobufVersion
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<grpc.version>1.58.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
|
||||
<protobuf.version>3.23.4</protobuf.version>
|
||||
<protobuf.version>3.24.0</protobuf.version>
|
||||
<!-- required for jdk9 -->
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ java {
|
|||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protocVersion = '3.23.4'
|
||||
def protocVersion = '3.24.0'
|
||||
|
||||
dependencies {
|
||||
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ java {
|
|||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protobufVersion = '3.23.4'
|
||||
def protobufVersion = '3.24.0'
|
||||
|
||||
dependencies {
|
||||
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<grpc.version>1.58.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
|
||||
<protoc.version>3.23.4</protoc.version>
|
||||
<protoc.version>3.24.0</protoc.version>
|
||||
<!-- required for jdk9 -->
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ java {
|
|||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protobufVersion = '3.23.4'
|
||||
def protobufVersion = '3.24.0'
|
||||
def protocVersion = protobufVersion
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<grpc.version>1.58.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
|
||||
<protobuf.version>3.23.4</protobuf.version>
|
||||
<protoc.version>3.23.4</protoc.version>
|
||||
<protobuf.version>3.24.0</protobuf.version>
|
||||
<protoc.version>3.24.0</protoc.version>
|
||||
<!-- required for jdk9 -->
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ java {
|
|||
}
|
||||
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protocVersion = '3.23.4'
|
||||
def protocVersion = '3.24.0'
|
||||
|
||||
dependencies {
|
||||
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ java {
|
|||
}
|
||||
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protocVersion = '3.23.4'
|
||||
def protocVersion = '3.24.0'
|
||||
|
||||
dependencies {
|
||||
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ java {
|
|||
}
|
||||
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protocVersion = '3.23.4'
|
||||
def protocVersion = '3.24.0'
|
||||
|
||||
dependencies {
|
||||
implementation "io.grpc:grpc-protobuf:${grpcVersion}",
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ java {
|
|||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protocVersion = '3.23.4'
|
||||
def protocVersion = '3.24.0'
|
||||
|
||||
dependencies {
|
||||
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<grpc.version>1.58.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
|
||||
<protoc.version>3.23.4</protoc.version>
|
||||
<protoc.version>3.24.0</protoc.version>
|
||||
<!-- required for jdk9 -->
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ java {
|
|||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.58.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def protocVersion = '3.23.4'
|
||||
def protocVersion = '3.24.0'
|
||||
|
||||
dependencies {
|
||||
implementation "io.grpc:grpc-protobuf:${grpcVersion}"
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@
|
|||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<grpc.version>1.58.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
|
||||
<protobuf.version>3.23.4</protobuf.version>
|
||||
<protoc.version>3.23.4</protoc.version>
|
||||
<protobuf.version>3.24.0</protobuf.version>
|
||||
<protoc.version>3.24.0</protoc.version>
|
||||
<!-- required for JDK 8 -->
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ netty = '4.1.93.Final'
|
|||
# SECURITY.md
|
||||
nettytcnative = '2.0.61.Final'
|
||||
opencensus = "0.31.1"
|
||||
protobuf = "3.23.4"
|
||||
protobuf = "3.24.0"
|
||||
|
||||
[libraries]
|
||||
android-annotations = "com.google.android:annotations:4.1.1.4"
|
||||
|
|
|
|||
|
|
@ -143,18 +143,18 @@ def com_google_protobuf():
|
|||
# This statement defines the @com_google_protobuf repo.
|
||||
http_archive(
|
||||
name = "com_google_protobuf",
|
||||
sha256 = "ac3fd4e97af55405d8bfba43c22d8a7e464a371bb6bc9e706627b745c1022dbf",
|
||||
strip_prefix = "protobuf-23.4",
|
||||
urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protobuf-23.4.zip"],
|
||||
sha256 = "5980276108f948e1ada091475549a8c75dc83c193129aab0e986ceaac3e97131",
|
||||
strip_prefix = "protobuf-24.0",
|
||||
urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v24.0/protobuf-24.0.zip"],
|
||||
)
|
||||
|
||||
def com_google_protobuf_javalite():
|
||||
# java_lite_proto_library rules implicitly depend on @com_google_protobuf_javalite
|
||||
http_archive(
|
||||
name = "com_google_protobuf_javalite",
|
||||
sha256 = "ac3fd4e97af55405d8bfba43c22d8a7e464a371bb6bc9e706627b745c1022dbf",
|
||||
strip_prefix = "protobuf-23.4",
|
||||
urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protobuf-23.4.zip"],
|
||||
sha256 = "5980276108f948e1ada091475549a8c75dc83c193129aab0e986ceaac3e97131",
|
||||
strip_prefix = "protobuf-24.0",
|
||||
urls = ["https://github.com/protocolbuffers/protobuf/releases/download/v24.0/protobuf-24.0.zip"],
|
||||
)
|
||||
|
||||
def io_grpc_grpc_proto():
|
||||
|
|
|
|||
Loading…
Reference in New Issue