forked from rules-proto-grpc/rules_proto_grpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MODULE.bazel
89 lines (75 loc) · 2.57 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
bazel_dep(name = "buildifier_prebuilt", version = "6.3.3")
bazel_dep(name = "gazelle", version = "0.34.0")
bazel_dep(name = "rules_go", version = "0.42.0")
bazel_dep(name = "rules_proto", version = "5.3.0-21.7")
# Rulegen deps
rulegen_go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
rulegen_go_deps.module(
path = "github.com/urfave/cli",
sum = "h1:wYSSj06510qPIzGSua9ZqsncMmWE3Zr55KBERygyrxE=",
version = "v1.21.0",
)
use_repo(rulegen_go_deps, "com_github_urfave_cli")
# Local overrides
bazel_dep(name = "rules_proto_grpc", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc",
path = "modules/core",
)
bazel_dep(name = "rules_proto_grpc_example_protos", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc_example_protos",
path = "modules/example_protos",
)
# Buf
bazel_dep(name = "rules_proto_grpc_buf", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc_buf",
path = "modules/buf",
)
# C
bazel_dep(name = "rules_proto_grpc_c", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc_c",
path = "modules/c",
)
bazel_dep(name = "protobuf", version = "21.7")
# C++
bazel_dep(name = "rules_proto_grpc_cpp", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc_cpp",
path = "modules/cpp",
)
# Documentation
bazel_dep(name = "rules_proto_grpc_doc", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc_doc",
path = "modules/doc",
)
# Go
bazel_dep(name = "rules_proto_grpc_go", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc_go",
path = "modules/go",
)
# gRPC-Gateway
bazel_dep(name = "rules_proto_grpc_grpc_gateway", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc_grpc_gateway",
path = "modules/grpc_gateway",
)
# Objective-C
bazel_dep(name = "rules_proto_grpc_objc", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc_objc",
path = "modules/objc",
)
# Python
bazel_dep(name = "rules_proto_grpc_python", version = "0.0.0.rpg.version.placeholder")
local_path_override(
module_name = "rules_proto_grpc_python",
path = "modules/python",
)
bazel_dep(name = "rules_python", version = "0.27.1")
python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(python_version = "3.11")