-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD
More file actions
22 lines (20 loc) · 850 Bytes
/
BUILD
File metadata and controls
22 lines (20 loc) · 850 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
load("//tools/bzl:plugin.bzl", "gerrit_plugin")
load("//tools/bzl:js.bzl", "gerrit_js_bundle")
gerrit_plugin(
name = "messageoftheday",
srcs = glob(["src/main/java/**/*.java"]),
manifest_entries = [
"Gerrit-PluginName: messageoftheday",
"Gerrit-Module: com.googlesource.gerrit.plugins.messageoftheday.Module",
"Gerrit-HttpModule: com.googlesource.gerrit.plugins.messageoftheday.HttpModule",
"Implementation-Title: Plugin messageoftheday",
"Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/messageoftheday",
],
resource_jars = [":gr-messageoftheday"],
resources = glob(["src/main/resources/**/*"]),
)
gerrit_js_bundle(
name = "gr-messageoftheday",
srcs = glob(["gr-messageoftheday/*.js"]),
entry_point = "gr-messageoftheday/plugin.js",
)