blob: b8ccc39d21d5e8dbcd60f220ed210fa7a443164b [file] [log] [blame]
load("//tools/bzl:plugin.bzl", "gerrit_plugin")
package_group(
name = "visibility",
packages = ["//plugins/checks/..."],
)
package(default_visibility = [":visibility"])
gerrit_plugin(
name = "checks",
srcs = glob(["java/com/google/gerrit/plugins/checks/**/*.java"]),
manifest_entries = [
"Gerrit-PluginName: checks",
"Gerrit-Module: com.google.gerrit.plugins.checks.Module",
"Gerrit-HttpModule: com.google.gerrit.plugins.checks.HttpModule",
"Gerrit-InitStep: com.google.gerrit.plugins.checks.Init",
],
resource_jars = ["//plugins/checks/web:checks"],
resource_strip_prefix = "plugins/checks/resources",
resources = glob(["resources/**/*"]),
deps = ["//plugins/checks/proto:cache_java_proto"],
)