forked from werkt/bf-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMODULE.bazel
48 lines (44 loc) · 2.09 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
###############################################################################
# Bazel now uses Bzlmod by default to manage external dependencies.
# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel.
#
# For more details, please check https://github.com/bazelbuild/bazel/issues/18958
###############################################################################
bazel_dep(name = "rules_go", version = "0.52.0", repo_name = "io_bazel_rules_go")
bazel_dep(name = "gazelle", version = "0.41.0")
bazel_dep(name = "googleapis", version = "0.0.0-20240819-fe8ba054a")
bazel_dep(name = "protobuf", version = "29.0-rc1", repo_name = "com_google_protobuf")
bazel_dep(name = "bazel_remote_apis", version = "6777112ef7defa6705b1ebd2831d6c7efeb12ba2", repo_name = "remoteapis")
archive_override(
module_name = "bazel_remote_apis",
integrity = "sha256-PTtx9Vz9LjLvvUhv/n4QnksoD19BfqoFssrb3QvxcSE=",
strip_prefix = "remote-apis-6777112ef7defa6705b1ebd2831d6c7efeb12ba2",
urls = [
"https://github.com/bazelbuild/remote-apis/archive/6777112ef7defa6705b1ebd2831d6c7efeb12ba2.zip",
],
)
go_sdk = use_extension("@io_bazel_rules_go//go:extensions.bzl", "go_sdk")
# Download an SDK for the host OS & architecture as well as common remote execution platforms.
go_sdk.download(version = "1.23.1")
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_dustin_go_humanize",
"com_github_gammazero_deque",
"com_github_gizak_termui_v3",
"com_github_golang_protobuf",
"com_github_hashicorp_golang_lru_v2",
"com_github_mattn_go_runewidth",
"com_github_nsf_termbox_go",
"com_github_redis_go_redis_v9",
"com_google_cloud_go_longrunning",
"com_lukechampine_blake3",
"org_golang_google_genproto",
"org_golang_google_genproto_googleapis_api",
"org_golang_google_genproto_googleapis_bytestream",
"org_golang_google_genproto_googleapis_rpc",
"org_golang_google_grpc",
)
build_deps = use_extension("//:extensions.bzl", "build_deps")
use_repo(build_deps, "buildfarm")