Fix buck test in Gerrit tree

Running tests in Gerrit tree:
    buck test --include websesson-flatfile
was failing because of lacking dependencies.

Add GERRIT_TESTS to list of test dependencies.

Change-Id: I18ab5c102737f9c4eef314d6f91ad8377fbd00ae
diff --git a/BUCK b/BUCK
index 4624aba..7f1487c 100644
--- a/BUCK
+++ b/BUCK
@@ -35,6 +35,6 @@
   srcs = glob(['src/test/java/**/*.java']),
   resources = glob(['src/test/resources/**/']),
   labels = ['websession-flatfile'],
-  deps = DEPS,
+  deps = GERRIT_TESTS + DEPS,
   source_under_test = [':websession-flatfile__plugin'],
 )
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK
index 19e67dc..ae4d89f 100644
--- a/lib/gerrit/BUCK
+++ b/lib/gerrit/BUCK
@@ -10,3 +10,11 @@
   repository = REPO,
   license = 'Apache2.0',
 )
+
+maven_jar(
+  name = 'acceptance-framework',
+  id = 'com.google.gerrit:gerrit-acceptance-framework:' + VER,
+  license = 'Apache2.0',
+  attach_source = False,
+  repository = REPO,
+)