generated from mattrobmattrob/bazel-ios-swiftui-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
MODULE.bazel
92 lines (84 loc) · 1.94 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
"""Defines the bzlmod module"""
module(
name = "swift_bep_parser",
version = "0.0.0",
bazel_compatibility = [
">=6.0.0",
],
compatibility_level = 1,
)
# - Direct deps
bazel_dep(
name = "apple_support",
version = "1.15.1",
repo_name = "build_bazel_apple_support",
)
bazel_dep(
name = "rules_swift",
version = "1.18.0",
max_compatibility_level = 2,
repo_name = "build_bazel_rules_swift",
)
bazel_dep(
name = "rules_apple",
version = "3.5.0",
repo_name = "build_bazel_rules_apple",
)
##################################################################################################
# The following deps are required to support the io_bazel dependency.
# They match Bazel's own MODULE.bazel file as of this commit:
# https://github.com/bazelbuild/bazel/blob/296af602cd2a27a9d10ce5f46c99b42b6ab4367b/MODULE.bazel
#
bazel_dep(
name = "rules_java",
version = "6.3.0",
)
bazel_dep(
name = "rules_proto",
version = "5.3.0-21.7",
)
bazel_dep(
name = "protobuf",
version = "21.7",
repo_name = "com_google_protobuf",
)
bazel_dep(
name = "rules_python",
version = "0.24.0",
)
bazel_dep(
name = "rules_cc",
version = "0.0.8",
)
bazel_dep(
name = "rules_license",
version = "0.0.7",
)
bazel_dep(
name = "rules_pkg",
version = "0.7.0",
)
# End of io_bazel dependencies.
##################################################################################################
# - Development Deps
bazel_dep(
name = "buildifier_prebuilt",
version = "6.0.0.1",
dev_dependency = True,
)
bazel_dep(
name = "swiftlint",
version = "0.53.0",
dev_dependency = True,
)
bazel_dep(
name = "rules_xcodeproj",
version = "2.1.0",
dev_dependency = True,
)
# - Load module extensions
non_bzlmod_enabled_deps = use_extension("//tools:non_bzlmod_enabled_deps.bzl", "non_bzlmod_enabled_deps")
use_repo(
non_bzlmod_enabled_deps,
"io_bazel",
)