blob: f33929d5435848b34e65c97a3b5a767b25fb8d08 [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',
],
)
# this is required for bucklets/tools/eclipse/project.py to work
java_library(
name = 'classpath',
deps = [':${pluginName}__plugin'],
)