-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMODULE.bazel
77 lines (70 loc) · 1.99 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
module(
name = "rules_gcs",
version = "1.0.0",
compatibility_level = 0,
)
# ✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂
# only dev_dependencies below this line - rules_gcs is lean
# ✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂✂
bazel_dep(
name = "bazel_skylib",
version = "1.7.1",
dev_dependency = True,
)
bazel_dep(
name = "rules_bazel_integration_test",
version = "0.31.0",
dev_dependency = True,
)
bazel_dep(
name = "rules_java",
version = "7.6.5",
dev_dependency = True,
)
bazel_dep(
name = "rules_proto",
version = "6.0.2",
dev_dependency = True,
)
bazel_dep(
name = "rules_testing",
version = "0.6.0",
dev_dependency = True,
)
bazel_dep(
name = "stardoc",
version = "0.7.0",
dev_dependency = True,
)
bazel_dep(
name = "toolchains_protoc",
version = "0.3.2",
dev_dependency = True,
)
protoc = use_extension(
"@toolchains_protoc//protoc:extensions.bzl",
"protoc",
dev_dependency = True,
)
protoc.toolchain(
google_protobuf = "com_google_protobuf",
version = "v27.0",
)
http_jar = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_jar")
http_jar(
name = "protobuf-java",
sha256 = "9072e60fe66cff5d6c0f11a1df21d8f3e4b29b5ee782b45c3fc75f59fbe2b839",
urls = ["https://repo1.maven.org/maven2/com/google/protobuf/protobuf-java/4.27.0/protobuf-java-4.27.0.jar"],
)
register_toolchains(
"//docs/lang_toolchains:all",
dev_dependency = True,
)
bazel_binaries = use_extension(
"@rules_bazel_integration_test//:extensions.bzl",
"bazel_binaries",
dev_dependency = True,
)
bazel_binaries.download(version = "7.1.0")
bazel_binaries.download(version = "8.0.0")
use_repo(bazel_binaries, "bazel_binaries", "bazel_binaries_bazelisk", "build_bazel_bazel_7_1_0", "build_bazel_bazel_8_0_0")