Skip to content

Commit 040665f

Browse files
committed
examples: Explain Bazel BCR releases and git_override option
1 parent 4995700 commit 040665f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

examples/MODULE.bazel

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ bazel_dep(name = "protobuf", repo_name = "com_google_protobuf", version = "23.1"
44
bazel_dep(name = "rules_jvm_external", version = "6.0")
55
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
66

7-
# Do not use this override in your own MODULE.bazel. Use a version from BCR
7+
# Do not use this override in your own MODULE.bazel. It is unnecessary when
8+
# using a version from BCR. Be aware the gRPC Java team does not update the
9+
# BCR for new releases, so you may need to create a PR for the BCR to add the
10+
# version. To not use the BCR, you could use:
11+
#
12+
# git_override(
13+
# module_name = "grpc-java",
14+
# remote = "https://github.com/grpc/grpc-java.git",
15+
# tag = "v<VERSION>",
16+
# )
817
local_path_override(
918
module_name = "grpc-java",
1019
path = "..",

0 commit comments

Comments
 (0)