| 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 = [ |
| "@jaxb-api//jar", |
| "@jaxb-runtime//jar", |
| "@istack-commons-runtime//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", |
| ], |
| ) |