-
Notifications
You must be signed in to change notification settings - Fork 267
Expand file tree
/
Copy pathMODULE.bazel
More file actions
46 lines (36 loc) · 1.39 KB
/
MODULE.bazel
File metadata and controls
46 lines (36 loc) · 1.39 KB
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
# TODO(davido): Migrate all dependencies from WORKSPACE to MODULE.bazel
# https://issues.gerritcodereview.com/issues/303819949
module(name = "gerrit")
# Core Bazel deps.
bazel_dep(name = "bazel_features", version = "1.39.0")
bazel_dep(name = "platforms", version = "1.0.0")
bazel_dep(name = "rules_jvm_external", version = "6.10")
# Language rules.
bazel_dep(name = "rules_java", version = "8.16.1")
bazel_dep(name = "rules_proto", version = "7.1.0")
bazel_dep(name = "rules_python", version = "1.8.0-rc1")
bazel_dep(name = "rules_shell", version = "0.6.1")
# Libraries / toolchains.
bazel_dep(name = "protobuf", version = "33.4")
# In-tree modules.
bazel_dep(name = "jgit")
local_path_override(
module_name = "jgit",
path = "./modules/jgit",
)
# Toolchain setup.
bazel_dep(name = "rbe_autoconfig")
git_override(
module_name = "rbe_autoconfig",
commit = "c4d733d0399ebf2ee1ffb897be5fbaba23738e04",
remote = "https://github.com/davido/rbe_autoconfig.git",
)
register_toolchains("//tools:all")
# Plugin packaging support: bazlets pin and generated Gerrit API version repo.
include("//tools:bazlets.MODULE.bazel")
# Repository rules for in-tree sources.
include("//tools:repos.MODULE.bazel")
# External dependency wiring is split out.
include("//tools:java_deps.MODULE.bazel")
# Wiring for external dependencies contributed by in-tree plugins.
include("//plugins:external_plugin_deps.MODULE.bazel")