Fix dependencies

Test dependencies were wrongly added to the class path instead of
to the test target.

Change-Id: I5a53752ccc93fd8c2d2332109fb8564a0d9be11c
diff --git a/BUCK b/BUCK
index 53ad6c2..e48994b 100644
--- a/BUCK
+++ b/BUCK
@@ -7,7 +7,7 @@
   '//lib:gson',
   '//lib/commons:dbcp',
 ]
-TEST_DEPS = GERRIT_PLUGIN_API + GERRIT_TESTS + [
+TEST_DEPS = GERRIT_PLUGIN_API + DEPS + GERRIT_TESTS + [
   ':events-log__plugin',
 ]
 
@@ -27,7 +27,7 @@
 
 java_library(
   name = 'classpath',
-  deps = list(set(DEPS) | set(TEST_DEPS))
+  deps = TEST_DEPS,
 )
 
 java_test(