blob: faf8c56abf0516e2d408719beca6235a4ca301f0 [file] [log] [blame]
Yun Peng6181a3c2021-10-28 03:11:19 -07001# To build Bazel with Bzlmod
2# 1. Copy WORKSPACE.bzlmod to replace the original WORKSPACE file.
3# 2. Run `bazel build --experimental_enable_bzlmod //src:bazel_nojdk`.
4
5module(
6 name = "bazel",
7 version = "6.0.0-pre",
8)
9
10bazel_dep(name = "bazel_skylib", version = "1.0.3")
pcloudyeacb32f2021-10-29 04:56:30 -070011bazel_dep(name = "protobuf", version = "3.19.0", repo_name = "com_google_protobuf")
Yun Peng6181a3c2021-10-28 03:11:19 -070012bazel_dep(name = "grpc", version = "1.41.0", repo_name = "com_github_grpc_grpc")
13bazel_dep(name = "platforms", version = "0.0.4")
14bazel_dep(name = "rules_pkg", version = "0.5.1")
15bazel_dep(name = "stardoc", version = "0.5.0", repo_name = "io_bazel_skydoc")
Yun Peng89ea68b2021-11-23 11:24:51 -080016bazel_dep(name = "zstd-jni", version = "1.5.0-4")
Yun Peng6181a3c2021-10-28 03:11:19 -070017
18# TODO(pcloudy): Add remoteapis and googleapis as Bazel modules in the BCR.
19bazel_dep(name = "remoteapis", version = "")
20bazel_dep(name = "googleapis", version = "")
21local_path_override(
22 module_name = "remoteapis",
23 path = "./third_party/remoteapis",
24)
25local_path_override(
26 module_name = "googleapis",
27 path = "./third_party/googleapis",
28)
29
30# The following are required when building without WORKSPACE SUFFIX
Yun Peng6181a3c2021-10-28 03:11:19 -070031bazel_dep(name = "rules_cc", version = "0.0.1")
Yun Peng89ea68b2021-11-23 11:24:51 -080032bazel_dep(name = "rules_python", version = "0.4.0")
33bazel_dep(name = "rules_java", version = "5.0.0")
Yun Peng6181a3c2021-10-28 03:11:19 -070034bazel_dep(name = "rules_proto", version = "4.0.0")