blob: c8ca728718f6d89c03b1a165f3103b76d9732869 [file] [log] [blame]
load("//tools/bzl:junit.bzl", "junit_tests")
load("//tools/bzl:plugin.bzl", "PLUGIN_DEPS", "PLUGIN_TEST_DEPS", "gerrit_plugin")
gerrit_plugin(
name = "events-eiffel",
srcs = glob(["src/main/java/**/*.java"]),
manifest_entries = [
"Gerrit-PluginName: events-eiffel",
"Gerrit-Module: com.googlesource.gerrit.plugins.eventseiffel.Module",
],
resources = glob(["src/main/resources/**/*"]),
deps = [
"@amqp_client//jar",
],
)
junit_tests(
name = "events-eiffel_tests",
srcs = glob(["src/test/java/**/*.java"]),
tags = ["events-eiffel"],
visibility = ["//visibility:public"],
deps = PLUGIN_TEST_DEPS + PLUGIN_DEPS + [":events-eiffel__plugin"],
)