Fix tests dependency on joda-time
Since change I897188135 the joda-time library is no longer
exported in the plugin API.
Change-Id: Id0ce08e0fa9452b043c7517ff154b5c248c44e90
diff --git a/BUILD b/BUILD
index bb1d8fe..c0ab3f5 100644
--- a/BUILD
+++ b/BUILD
@@ -1,9 +1,9 @@
load("//tools/bzl:junit.bzl", "junit_tests")
load(
"//tools/bzl:plugin.bzl",
- "gerrit_plugin",
"PLUGIN_DEPS",
"PLUGIN_TEST_DEPS",
+ "gerrit_plugin",
)
gerrit_plugin(
@@ -28,9 +28,8 @@
name = "lfs_tests",
srcs = glob(["src/test/java/**/*.java"]),
tags = ["lfs"],
- deps = PLUGIN_DEPS + PLUGIN_TEST_DEPS + [
- ":lfs__plugin",
- "@jgit_lfs//jar",
+ deps = [
+ ":lfs__plugin_test_deps",
],
)
@@ -40,6 +39,7 @@
visibility = ["//visibility:public"],
exports = PLUGIN_DEPS + PLUGIN_TEST_DEPS + [
":lfs__plugin",
+ "@jgit_lfs//jar",
"@joda_time//jar",
],
)