-
Notifications
You must be signed in to change notification settings - Fork 0
/
MODULE.bazel
62 lines (50 loc) · 1.15 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
module(
name = "apis-rust",
version = "1.0.0",
compatibility_level = 1,
)
bazel_dep(
name = "buildifier_prebuilt",
version = "6.3.3",
dev_dependency = True,
)
bazel_dep(
name = "grpc",
version = "1.48.1",
dev_dependency = True,
)
bazel_dep(
name = "protobuf",
version = "21.7",
dev_dependency = True,
repo_name = "com_google_protobuf",
)
bazel_dep(
name = "rules_go",
version = "0.43.0",
dev_dependency = True,
)
bazel_dep(
name = "rules_proto",
version = "6.0.0-rc1",
dev_dependency = True,
)
go_sdk = use_extension("@rules_go//go:extensions.bzl", "go_sdk")
go_sdk.download(version = "1.21.5")
# Register the Go SDK installed on the host.
go_sdk.host()
bazel_dep(
name = "gazelle",
version = "0.34.0",
dev_dependency = True,
) #, repo_name = "bazel_gazelle")
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
#"com_github_grpc_ecosystem_grpc_gateway_v2",
"org_golang_google_genproto_googleapis_api",
"org_golang_google_grpc",
"org_golang_google_protobuf",
"org_uber_go_zap",
)