Skip to content

Commit 7b74302

Browse files
committed
Upgrade protobuf to 34.1
1 parent 9594014 commit 7b74302

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ bazel_dep(name = "stardoc", version = "0.8.0", dev_dependency = True)
1515
rules_java_toolchains = use_extension("@rules_java//java:extensions.bzl", "toolchains")
1616
use_repo(rules_java_toolchains, "remote_java_tools")
1717

18-
bazel_dep(name = "protobuf", version = "33.4", repo_name = "com_google_protobuf")
18+
bazel_dep(name = "protobuf", version = "34.1", repo_name = "com_google_protobuf")
1919
bazel_dep(name = "rules_jvm_external", version = "6.9")
2020
bazel_dep(name = "bazel_skylib", version = "1.8.1")
2121
bazel_dep(name = "bazel_features", version = "1.48.1")

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ load("@rules_java//java:rules_java_deps.bzl", "rules_java_dependencies")
4646
rules_java_dependencies()
4747
# note that the following line is what is minimally required from protobuf for the java rules
4848
# consider using the protobuf_deps() public API from @com_google_protobuf//:protobuf_deps.bzl
49-
load("@com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility
49+
load("@com_google_protobuf//bazel/private/oss:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility
5050
proto_bazel_features(name = "proto_bazel_features")
5151
# register toolchains
5252
load("@rules_java//java:repositories.bzl", "rules_java_toolchains")

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rules_java_dependencies()
1717

1818
# note that the following line is what is minimally required from protobuf for the java rules
1919
# consider using the protobuf_deps() public API from @com_google_protobuf//:protobuf_deps.bzl
20-
load("@com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility
20+
load("@com_google_protobuf//bazel/private/oss:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility
2121

2222
proto_bazel_features(name = "proto_bazel_features")
2323

examples/basicapp/WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ rules_java_dependencies()
2121

2222
# note that the following line is what is minimally required from protobuf for the java rules
2323
# consider using the protobuf_deps() public API from @com_google_protobuf//:protobuf_deps.bzl
24-
load("@com_google_protobuf//bazel/private:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility
24+
load("@com_google_protobuf//bazel/private/oss:proto_bazel_features.bzl", "proto_bazel_features") # buildifier: disable=bzl-visibility
2525
proto_bazel_features(name = "proto_bazel_features")
2626
# register toolchains
2727
load("@rules_java//java:repositories.bzl", "rules_java_toolchains")

prereqs.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ def rules_android_prereqs(dev_mode = False):
6363
url = "https://github.com/bazelbuild/rules_jvm_external/releases/download/%s/rules_jvm_external-%s.tar.gz" % (RULES_JVM_EXTERNAL_TAG, RULES_JVM_EXTERNAL_TAG),
6464
)
6565

66-
PROTOBUF_VERSION = "33.4"
67-
PROTOBUF_HASH = "bc670a4e34992c175137ddda24e76562bb928f849d712a0e3c2fb2e19249bea1"
66+
PROTOBUF_VERSION = "34.1"
67+
PROTOBUF_HASH = "e4e6ff10760cf747a2decd1867741f561b216bd60cc4038c87564713a6da1848"
6868
maybe(
6969
http_archive,
7070
name = "com_google_protobuf",

0 commit comments

Comments
 (0)