blob: b224bf6e928266507a23c0e6fd1bcf039c8bc536 [file] [log] [blame]
include_defs('//bucklets/gerrit_plugin.bucklet')
gerrit_plugin(
name = '${pluginName}',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/**/*']),
gwt_module = '${package}.HelloPlugin',
manifest_entries = [
'Gerrit-PluginName: ${pluginName}',
'Gerrit-ApiType: plugin',
'Gerrit-ApiVersion: ${gerritApiVersion}',
'Gerrit-Module: ${package}.Module',
'Gerrit-HttpModule: ${package}.HttpModule',
],
)
# this is required for bucklets/tools/eclipse/project.py to work
java_library(
name = 'classpath',
deps = [':${pluginName}__plugin'],
)