blob: c8ca728718f6d89c03b1a165f3103b76d9732869 [file] [log] [blame]
Sven Selberg9f00b342021-03-01 17:30:44 +01001load("//tools/bzl:junit.bzl", "junit_tests")
2load("//tools/bzl:plugin.bzl", "PLUGIN_DEPS", "PLUGIN_TEST_DEPS", "gerrit_plugin")
3
4gerrit_plugin(
Sven Selberg08f98f22021-05-17 09:18:25 +02005 name = "events-eiffel",
Sven Selberg9f00b342021-03-01 17:30:44 +01006 srcs = glob(["src/main/java/**/*.java"]),
7 manifest_entries = [
Sven Selberg08f98f22021-05-17 09:18:25 +02008 "Gerrit-PluginName: events-eiffel",
9 "Gerrit-Module: com.googlesource.gerrit.plugins.eventseiffel.Module",
Sven Selberg9f00b342021-03-01 17:30:44 +010010 ],
11 resources = glob(["src/main/resources/**/*"]),
Sven Selberg295b6362021-03-31 16:25:54 +020012 deps = [
13 "@amqp_client//jar",
14 ],
Sven Selberg9f00b342021-03-01 17:30:44 +010015)
16
17junit_tests(
Sven Selberg08f98f22021-05-17 09:18:25 +020018 name = "events-eiffel_tests",
Sven Selberg9f00b342021-03-01 17:30:44 +010019 srcs = glob(["src/test/java/**/*.java"]),
Sven Selberg08f98f22021-05-17 09:18:25 +020020 tags = ["events-eiffel"],
Sven Selberg9f00b342021-03-01 17:30:44 +010021 visibility = ["//visibility:public"],
Sven Selberg08f98f22021-05-17 09:18:25 +020022 deps = PLUGIN_TEST_DEPS + PLUGIN_DEPS + [":events-eiffel__plugin"],
Sven Selberg9f00b342021-03-01 17:30:44 +010023)