blob: f9ec196e59b1376e7778841b9ea808d23f94d562 [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 = "singleusergroup",
srcs = glob(["src/main/java/**/*.java"]),
manifest_entries = [
"Gerrit-PluginName: singleusergroup",
"Gerrit-Module: com.googlesource.gerrit.plugins.singleusergroup.SingleUserGroup$PluginModule",
],
resources = glob(["src/main/resources/**/*"]),
)
junit_tests(
name = "singleusergroup_tests",
srcs = glob(["src/test/java/**/*Test.java"]),
tags = ["singleusergroup"],
visibility = ["//visibility:public"],
runtime_deps = [":singleusergroup__plugin"],
deps = PLUGIN_TEST_DEPS + PLUGIN_DEPS,
)