blob: 8a9da851e04644c4f0198827e6ae2369584ba019 [file] [log] [blame]
load("//tools/bzl:junit.bzl", "junit_tests")
load("//tools/bzl:plugin.bzl", "gerrit_plugin")
gerrit_plugin(
name = "supermanifest",
srcs = glob(["java/**/*.java"]),
manifest_entries = [
"Gerrit-PluginName: supermanifest",
"Gerrit-Module: com.googlesource.gerrit.plugins.supermanifest.SuperManifestModule",
"Implementation-Title: Supermanifest plugin",
"Implementation-URL: https://gerrit-review.googlesource.com/#/todo",
],
resources = glob(["java/Documentation/**/*.md"]),
deps = [
"@error-prone-annotations//jar",
"@istack-commons-runtime//jar",
"@jaxb-api//jar",
"@jaxb-runtime//jar",
"@commons-lang3//jar",
],
)
junit_tests(
name = "supermanifest_tests",
size = "large",
srcs = glob([
"javatests/**/*IT.java",
"javatests/**/*Test.java",
]),
resources = glob(["javatests/**/*.properties"]),
tags = [
"supermanifest-plugin",
],
visibility = ["//visibility:public"],
deps = [
":supermanifest__plugin",
"//java/com/google/gerrit/acceptance:lib",
"//lib/bouncycastle:bcprov",
"//lib/commons:lang3",
"//lib/jetty:http",
"//plugins:plugin-lib",
],
)