-
-
Notifications
You must be signed in to change notification settings - Fork 159
/
MODULE.bazel
29 lines (24 loc) · 1016 Bytes
/
MODULE.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
bazel_dep(name = "rules_proto_grpc", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_proto_grpc_example_protos", version = "0.0.0.rpg.version.placeholder")
bazel_dep(name = "rules_proto_grpc_cpp", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc",
path = "../../../modules/core",
)
local_path_override(
module_name = "rules_proto_grpc_example_protos",
path = "../../../modules/example_protos",
)
local_path_override(
module_name = "rules_proto_grpc_cpp",
path = "../../../modules/cpp",
)
bazel_dep(name = "toolchains_protoc", version = "0.3.1")
# Prevent version skew by matching protoc version to protobuf version, as C++ is the only lang that
# has no cross-version runtime guarantee:
# https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp
protoc = use_extension("@toolchains_protoc//protoc:extensions.bzl", "protoc")
protoc.toolchain(
google_protobuf = "com_google_protobuf",
version = "v27.1",
)