| include_defs('//bucklets/gerrit_plugin.bucklet') |
| |
| gerrit_plugin( |
| name = 'delete-project', |
| srcs = glob(['src/main/java/**/*.java']), |
| resources = glob(['src/main/resources/**/*']), |
| manifest_entries = [ |
| 'Gerrit-PluginName: deleteproject', |
| 'Gerrit-Module: com.googlesource.gerrit.plugins.deleteproject.Module', |
| 'Gerrit-HttpModule: com.googlesource.gerrit.plugins.deleteproject.HttpModule', |
| 'Gerrit-SshModule: com.googlesource.gerrit.plugins.deleteproject.SshModule', |
| ], |
| provided_deps = [ |
| '//lib:gson', |
| '//lib/log:log4j', |
| ], |
| ) |
| |
| java_library( |
| name = 'classpath', |
| deps = GERRIT_PLUGIN_API + [ |
| ':delete-project__plugin', |
| ], |
| ) |
| |
| java_test( |
| name = 'delete-project_tests', |
| srcs = glob(['src/test/java/**/*.java']), |
| labels = ['delete-project'], |
| deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [':delete-project__plugin'], |
| ) |