Buck: Fix plugin build
Now, that we expose httpclient in the plugin API, we can remove the
hack providing acceptance-framework to the plugin artifact.
And of course it was always wrong to pass wiremock as non-provided
dependency to the plugin. As the consequence this mock library was
shipped in the plugin JAR.
Change-Id: If7ef73f9bea443ddf719cbc6c981255dd93179e3
diff --git a/BUCK b/BUCK
index ef581ce..a789c05 100644
--- a/BUCK
+++ b/BUCK
@@ -5,12 +5,9 @@
SOURCES = glob(['src/main/java/**/*.java'])
RESOURCES = glob(['src/main/resources/**/*'])
-DEPS = [
- ':wiremock',
-]
-
-TEST_DEPS = GERRIT_PLUGIN_API + GERRIT_TESTS + DEPS + [
+TEST_DEPS = GERRIT_PLUGIN_API + GERRIT_TESTS + [
':sync-index__plugin',
+ ':wiremock',
]
gerrit_plugin(
@@ -26,8 +23,6 @@
'Implementation-URL: https://gerrit-review.googlesource.com/#/admin/projects/plugins/sync-index',
'Implementation-Vendor: Ericsson',
],
- provided_deps = GERRIT_TESTS,
- deps = DEPS,
)
java_sources(