blob: a93feddc1674c3fd26c7d28a3c5b1aebe209aa77 [file] [log] [blame]
# This plugin currently does not support a standalone build, as a
# standalone build was deemed too much maintenance overhead in its
# present (2015-09-20) form.
#
# Once the standalone build does no longer come with a maintenance
# overhead, a first shot at the standalone build for this plugin can
# be found at:
#
# https://gerrit-review.googlesource.com/#/c/70896/
#
include_defs('//bucklets/gerrit_plugin.bucklet')
gerrit_plugin(
name = 'its-base',
srcs = glob(['src/main/java/**/*.java']),
resources = glob(['src/main/resources/**/*']),
)
TEST_UTIL_SRC = glob(['src/test/java/com/googlesource/gerrit/plugins/its/base/testutil/**/*.java'])
java_library(
name = 'its-base_tests-utils',
srcs = TEST_UTIL_SRC,
deps = GERRIT_PLUGIN_API + GERRIT_TESTS,
visibility = ['PUBLIC'],
)
java_test(
name = 'its-base_tests',
srcs = glob(
['src/test/java/**/*.java'],
excludes = TEST_UTIL_SRC
),
labels = ['its-base'],
source_under_test = [':its-base__plugin'],
deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [
':its-base__plugin',
':its-base_tests-utils',
],
)