Add wiremock to project dependencies
Test dependencies not present in the acceptance-framework are not added
to the classpath when building the Eclipse project.
Workaround this by adding the dependency as a project dependency.
Change-Id: Iccf69e32d7bc370c2e0cbcac7b39ebdd36446e20
diff --git a/BUCK b/BUCK
index 163c42f..39e51ff 100644
--- a/BUCK
+++ b/BUCK
@@ -5,11 +5,14 @@
SOURCES = glob(['src/main/java/**/*.java'])
RESOURCES = glob(['src/main/resources/**/*'])
-TEST_DEPS = GERRIT_PLUGIN_API + GERRIT_TESTS + [
- ':sync-index__plugin',
+DEPS = [
':wiremock',
]
+TEST_DEPS = GERRIT_PLUGIN_API + GERRIT_TESTS + DEPS + [
+ ':sync-index__plugin',
+]
+
gerrit_plugin(
name = 'sync-index',
srcs = SOURCES,
@@ -23,7 +26,8 @@
'Implementation-URL: https://gerrit.ericsson.se/#/admin/projects/gerrit/plugins/sync-index',
'Implementation-Vendor: Ericsson',
],
- provided_deps = GERRIT_TESTS + [':wiremock',],
+ provided_deps = GERRIT_TESTS,
+ deps = DEPS,
)
java_sources(