blob: c864ea46ea69ac37c1b0668da15f64d6cb5556e6 [file] [log] [blame] [edit]
load("//tools/bzl:junit.bzl", "junit_tests")
load(
"//tools/bzl:plugin.bzl",
"PLUGIN_DEPS",
"PLUGIN_TEST_DEPS",
"gerrit_plugin",
)
gerrit_plugin(
name = "download-commands",
srcs = glob(["src/main/java/**/*.java"]),
manifest_entries = [
"Gerrit-PluginName: download-commands",
"Gerrit-Module: com.googlesource.gerrit.plugins.download.PluginModule",
],
resources = glob(["src/main/resources/**/*"]),
)
junit_tests(
name = "download-commands_tests",
size = "small",
srcs = glob(["src/test/java/**/*.java"]),
tags = ["download-commands"],
deps = PLUGIN_DEPS + PLUGIN_TEST_DEPS + [
":download-commands__plugin",
],
)