blob: 4d527fbacf1f3acff4abc93c23a0f80b756160b5 [file] [log] [blame] [edit]
include_defs('//bucklets/gerrit_plugin.bucklet')
gerrit_plugin(
name = 'quota',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
manifest_entries = [
'Gerrit-PluginName: quota',
'Gerrit-Module: com.googlesource.gerrit.plugins.quota.Module',
],
provided_deps = [
'//lib/commons:lang',
]
)
TEST_DEPS = GERRIT_PLUGIN_API + GERRIT_TESTS + [
':quota__plugin'
]
java_library(
name = 'classpath',
deps = TEST_DEPS,
)
java_test(
name = 'quota_tests',
srcs = glob(['src/test/java/**/*.java']),
labels = ['quota'],
deps = TEST_DEPS,
)