| load( | |
| "@com_googlesource_gerrit_bazlets//:gerrit_plugin.bzl", | |
| "gerrit_plugin", | |
| "gerrit_plugin_tests", | |
| ) | |
| PLUGIN = "owners-common-api" | |
| gerrit_plugin( | |
| srcs = glob([ | |
| "src/main/java/**/*.java", | |
| ]), | |
| ext_deps = [ | |
| "com.fasterxml.jackson.core:jackson-databind", | |
| "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml", | |
| ], | |
| manifest_entries = [ | |
| "Gerrit-PluginName: " + PLUGIN, | |
| "Gerrit-Module: com.googlesource.gerrit.owners.api.OwnersApiModule", | |
| "Implementation-Title: Gerrit owners-common-api plugin", | |
| "Implementation-URL: https://gerrit.googlesource.com/plugins/owners", | |
| ], | |
| plugin = PLUGIN, | |
| ) | |
| gerrit_plugin_tests( | |
| srcs = glob(["src/test/java/**/*.java"]), | |
| ext_deps = ["org.easymock:easymock"], | |
| plugin = PLUGIN, | |
| ) |