-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathMODULE.bazel
57 lines (51 loc) · 1.27 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
module(
name = "objc_code",
version = "0.0.0",
)
bazel_dep(
name = "rules_swift_package_manager",
version = "0.0.0",
)
local_path_override(
module_name = "rules_swift_package_manager",
path = "../..",
)
bazel_dep(name = "cgrindel_bazel_starlib", version = "0.20.2")
bazel_dep(name = "bazel_skylib", version = "1.5.0")
# The apple_support bazel_dep must come before the rules_cc.
# https://github.com/bazelbuild/apple_support#incompatible-toolchain-resolution
bazel_dep(name = "apple_support", version = "1.14.0")
bazel_dep(
name = "rules_swift",
version = "1.17.0",
repo_name = "build_bazel_rules_swift",
)
bazel_dep(
name = "bazel_skylib_gazelle_plugin",
version = "1.5.0",
dev_dependency = True,
)
bazel_dep(
name = "gazelle",
version = "0.35.0",
dev_dependency = True,
repo_name = "bazel_gazelle",
)
apple_cc_configure = use_extension(
"@apple_support//crosstool:setup.bzl",
"apple_cc_configure_extension",
)
use_repo(apple_cc_configure, "local_config_apple_cc")
# swift_deps START
swift_deps = use_extension(
"@rules_swift_package_manager//:extensions.bzl",
"swift_deps",
)
swift_deps.from_file(
deps_index = "//:swift_deps_index.json",
)
use_repo(
swift_deps,
"swiftpkg_trustkit",
)
# swift_deps END