Switch to using new acceptance-framework Switch to using new plugin api artifact for unit testing in standalone and in gerrit tree build modes. Change-Id: I4aba2c492e42f3150a34fbeff1135b8d5885dd46
diff --git a/BUCK b/BUCK index 5966d34..f47a479 100644 --- a/BUCK +++ b/BUCK
@@ -22,9 +22,8 @@ srcs = glob(['src/test/java/**/*IT.java']), labels = ['cookbook-plugin'], source_under_test = [':cookbook-plugin__plugin'], - deps = GERRIT_PLUGIN_API + [ + deps = GERRIT_PLUGIN_API + GERRIT_TESTS + [ ':cookbook-plugin__plugin', - '//lib:truth', ], )
diff --git a/lib/gerrit/BUCK b/lib/gerrit/BUCK index ee02ebb..968cdb1 100644 --- a/lib/gerrit/BUCK +++ b/lib/gerrit/BUCK
@@ -4,6 +4,14 @@ REPO = MAVEN_LOCAL maven_jar( + name = 'acceptance-framework', + id = 'com.google.gerrit:gerrit-acceptance-framework:' + VER, + license = 'Apache2.0', + attach_source = False, + repository = REPO, +) + +maven_jar( name = 'plugin-api', id = 'com.google.gerrit:gerrit-plugin-api:' + VER, license = 'Apache2.0',