| load( |
| "@com_googlesource_gerrit_bazlets//:gerrit_plugin.bzl", |
| "gerrit_plugin", |
| "gerrit_plugin_tests", |
| ) |
| |
| gerrit_plugin( |
| plugin = "its-jira", |
| srcs = glob(["src/main/java/**/*.java"]), |
| manifest_entries = [ |
| "Gerrit-PluginName: its-jira", |
| "Gerrit-Module: com.googlesource.gerrit.plugins.its.jira.JiraModule", |
| "Gerrit-InitStep: com.googlesource.gerrit.plugins.its.jira.InitJira", |
| "Gerrit-ReloadMode: reload", |
| "Implementation-Title: Jira ITS Plugin", |
| "Implementation-URL: http://www.gerritforge.com", |
| ], |
| resources = glob(["src/main/resources/**/*"]), |
| deps = [ |
| "//plugins/its-base", |
| ], |
| ) |
| |
| gerrit_plugin_tests( |
| srcs = glob(["src/test/java/**/*.java"]), |
| ext_deps = ["com.github.tomakehurst:wiremock-standalone"], |
| plugin = "its-jira", |
| deps = ["//plugins/its-base"], |
| ) |