blob: a29218e64602252b62ca3a9afbdd9b2af8bf88cc [file] [log] [blame] [edit]
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'],
)