Fix build
Bring up to date with latest version gerrit. It was failing with
following messages:
* TypeError: java_test() got an unexpected keyword argument 'source_under_test'
* No build file at lib/jgit/BUCK when resolving target //lib/jgit:jgit
Change-Id: I4f6a835dab446364be7ec62fbce34efb20b5a768
diff --git a/BUCK b/BUCK
index d9f1b97..d3cde83 100644
--- a/BUCK
+++ b/BUCK
@@ -1,3 +1,5 @@
+include_defs('//bucklets/gerrit_plugin.bucklet')
+
gerrit_plugin(
name = 'its-storyboard',
srcs = glob(['src/main/java/**/*.java']),
@@ -55,16 +57,13 @@
name = 'its-storyboard_tests',
srcs = glob(['src/test/java/**/*.java']),
labels = ['its-storyboard'],
- source_under_test = [':its-storyboard__plugin'],
- deps = [
+ deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [
':its-storyboard__plugin',
'//plugins/its-base:its-base_tests-utils',
':its-base_stripped',
- '//gerrit-plugin-api:lib',
'//lib/easymock:easymock',
'//lib:guava',
'//lib/guice:guice',
- '//lib/jgit:jgit',
'//lib:junit',
'//lib/log:api',
'//lib/log:impl_log4j',