-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMODULE.bazel
More file actions
47 lines (41 loc) · 1.41 KB
/
MODULE.bazel
File metadata and controls
47 lines (41 loc) · 1.41 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
47
module(name = "gerrit-javamelody")
bazel_dep(name = "rules_jvm_external", version = "6.10")
bazel_dep(name = "com_googlesource_gerrit_bazlets")
git_override(
module_name = "com_googlesource_gerrit_bazlets",
commit = "01ec9c2481186396dde1bc6f5166f7d95bdae134",
remote = "https://gerrit.googlesource.com/bazlets",
)
GERRIT_API_VERS = "3.13.3"
gerrit_api_version = use_repo_rule("@com_googlesource_gerrit_bazlets//:gerrit_api_version.bzl", "gerrit_api_version")
gerrit_api_version(
name = "gerrit_api_version",
version = GERRIT_API_VERS,
visibility = ["//visibility:public"],
)
maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
name = "external_plugin_deps",
artifacts = [
"com.google.gerrit:gerrit-plugin-api:" + GERRIT_API_VERS,
"com.google.gerrit:gerrit-acceptance-framework:" + GERRIT_API_VERS,
],
)
use_repo(maven, "external_plugin_deps")
maven.install(
name = "javamelody_plugin_deps",
artifacts = [
"net.bull.javamelody:javamelody-core:1.99.4",
"org.jrobin:jrobin:1.5.9",
],
duplicate_version_warning = "error",
fail_if_repin_required = True,
fail_on_missing_checksum = True,
fetch_sources = True,
lock_file = "javamelody_plugin_deps.lock.json",
repositories = [
"https://repo1.maven.org/maven2",
],
version_conflict_policy = "pinned",
)
use_repo(maven, "javamelody_plugin_deps")