blob: 5565e59d172e07deba2d15716897088257678e82 [file] [log] [blame]
Paladox none05cd3032017-02-05 16:56:23 +00001load("//tools/bzl:junit.bzl", "junit_tests")
2load(
3 "//tools/bzl:plugin.bzl",
4 "gerrit_plugin",
5 "PLUGIN_DEPS",
6 "PLUGIN_TEST_DEPS",
7)
8
9gerrit_plugin(
10 name = "server-config",
11 srcs = glob(["src/main/java/**/*.java"]),
12 resources = glob(["src/main/resources/**/*"]),
13 manifest_entries = [
14 "Gerrit-PluginName: server-config",
15 "Gerrit-HttpModule: com.googlesource.gerrit.plugins.serverconfig.HttpModule",
16 ],
17)
18
19junit_tests(
20 name = "server_config_tests",
21 srcs = glob(["src/test/java/**/*.java"]),
22 tags = ["server-config"],
23 deps = PLUGIN_DEPS + PLUGIN_TEST_DEPS + [
24 ":server-config__plugin",
25 ],
26)