blob: c3f7e9a8a87da75bee6c965074f9e6f2b3ff42fe [file] [log] [blame]
load("//tools/bzl:plugin.bzl", "gerrit_plugin", "PLUGIN_DEPS", "PLUGIN_TEST_DEPS")
load("//tools/bzl:junit.bzl", "junit_tests")
gerrit_plugin(
name = "autosubmitter",
srcs = glob(["src/main/java/**/*.java"]),
manifest_entries = [
"Gerrit-PluginName: autosubmitter",
"Gerrit-Module: com.criteo.gerrit.plugins.automerge.AutomergeModule",
],
resources = glob(["src/main/resources/*"]),
)
junit_tests(
name = "test",
testonly = 1,
srcs = glob(["src/test/java/**/*.java"]),
deps = PLUGIN_DEPS + PLUGIN_TEST_DEPS + [
":autosubmitter",
],
)