-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathBUILD
More file actions
33 lines (30 loc) · 1.26 KB
/
Copy pathBUILD
File metadata and controls
33 lines (30 loc) · 1.26 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
package_group(
name = "visibility",
packages = ["//plugins/code-owners/..."],
)
package(default_visibility = [":visibility"])
load(
"//tools/bzl:plugin.bzl",
"gerrit_plugin",
)
gerrit_plugin(
name = "code-owners",
srcs = glob(["java/com/google/gerrit/plugins/codeowners/module/*.java"]),
manifest_entries = [
"Gerrit-PluginName: code-owners",
"Gerrit-Module: com.google.gerrit.plugins.codeowners.module.PluginModule",
"Gerrit-HttpModule: com.google.gerrit.plugins.codeowners.module.HttpModule",
"Gerrit-BatchModule: com.google.gerrit.plugins.codeowners.module.BatchModule",
],
resource_jars = ["//plugins/code-owners/web:code-owners"],
resource_strip_prefix = "plugins/code-owners/resources",
resources = glob(["resources/**/*"]),
deps = [
"//lib/errorprone:annotations",
"//plugins/code-owners/java/com/google/gerrit/plugins/codeowners/api/impl",
"//plugins/code-owners/java/com/google/gerrit/plugins/codeowners/backend",
"//plugins/code-owners/java/com/google/gerrit/plugins/codeowners/common",
"//plugins/code-owners/java/com/google/gerrit/plugins/codeowners/restapi",
"//plugins/code-owners/java/com/google/gerrit/plugins/codeowners/validation",
],
)