Fix test dependencies
The tests failed because of a missing dependency to bouncycastle.
Add the dependency on PLUGIN_TEST_DEPS to fix this.
Helped-by: David Ostrovsky <david@ostrovsky.org>
Change-Id: Ia5fd6f18adabc7777f2b14cb25dc35ea8ed00827
diff --git a/BUILD b/BUILD
index 42ebd2b..8cb3515 100644
--- a/BUILD
+++ b/BUILD
@@ -1,6 +1,6 @@
load("//lib/prolog:prolog.bzl", "prolog_cafe_library")
load("//tools/bzl:junit.bzl", "junit_tests")
-load("//tools/bzl:plugin.bzl", "gerrit_plugin", "PLUGIN_DEPS")
+load("//tools/bzl:plugin.bzl", "PLUGIN_DEPS", "PLUGIN_TEST_DEPS", "gerrit_plugin")
java_library(
name = "find-owners-lib",
@@ -39,9 +39,8 @@
srcs = glob(["src/test/java/**/*.java"]),
# resources = glob(['src/test/resources/**/*']),
tags = ["findowners"],
- deps = PLUGIN_DEPS + [
+ deps = PLUGIN_DEPS + PLUGIN_TEST_DEPS + [
":find-owners-lib",
":find-owners-prolog-rules",
- "//gerrit-acceptance-framework:lib",
],
)