Fix test dependencies for in-tree build
When the plugin is included in-tree the tests fail to build with:
"Using type ... from an indirect dependency"
Add the necessary explicit dependencies to fix this.
Bug: Issue 10474
Change-Id: I65f9b02aa9d3a3bd47c001640e0bf8984f2a71a6
diff --git a/BUILD b/BUILD
index 98aa1c2..900a009 100644
--- a/BUILD
+++ b/BUILD
@@ -1,6 +1,7 @@
load("//tools/bzl:junit.bzl", "junit_tests")
load(
"//tools/bzl:plugin.bzl",
+ "PLUGIN_DEPS",
"PLUGIN_TEST_DEPS",
"gerrit_plugin",
)
@@ -81,7 +82,7 @@
name = "gc-conductor__plugin_test_deps",
testonly = 1,
visibility = ["//visibility:public"],
- exports = EXECUTOR_DEPS + PLUGIN_TEST_DEPS + [
+ exports = EXECUTOR_DEPS + PLUGIN_DEPS + PLUGIN_TEST_DEPS + [
":gc-conductor__plugin",
":gc-executor_lib",
"@byte-buddy//jar",