blob: f51726309d31cc3977ad7ba29c3a7bef35c8b439 [file] [log] [blame]
include_defs('//bucklets/gerrit_plugin.bucklet')
gerrit_plugin(
name = 'example-webLinkProject',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/**/*']),
manifest_entries = [
'Gerrit-PluginName: cookbook',
'Gerrit-Module: com.googlesource.gerrit.plugins.examples.weblinkproject.Module',
'Implementation-Title: Cookbook plugin',
'Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/examples',
],
)
java_test(
name = 'examples_tests',
srcs = glob(['src/test/java/**/*IT.java']),
labels = ['example-webLinkProject'],
deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [
':example-webLinkProject__plugin',
],
)
java_library(
name = 'classpath',
deps = [':example-webLinkProject__plugin'],
)