aboutsummaryrefslogtreecommitdiffstats
path: root/lib/BUILD
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2018-11-28 20:16:23 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2018-11-28 20:18:04 +0100
commit2532fa74c21166971ba05437e14786d93615bc82 (patch)
treec4d82d6829d050b2336f4ef2552aed9b0d25e975 /lib/BUILD
parent4b3c87f6392a7c514ee8552b722070472d9590e9 (diff)
downloadjgit-2532fa74c21166971ba05437e14786d93615bc82.tar.gz
jgit-2532fa74c21166971ba05437e14786d93615bc82.zip
Fix running tests from bazel
The new dependency to mockito for JDKHttpConnectionTest wasn't added for bazel test run. Change-Id: Ie967b7152340a0b3e05cced7eadfd40af78d9995 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'lib/BUILD')
-rw-r--r--lib/BUILD12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/BUILD b/lib/BUILD
index 9b59b84eda..4803466eca 100644
--- a/lib/BUILD
+++ b/lib/BUILD
@@ -159,6 +159,18 @@ java_library(
)
java_library(
+ name = "mockito",
+ testonly = 1,
+ visibility = ["//visibility:public"],
+ exports = [
+ "@mockito//jar",
+ "@byte_buddy//jar",
+ "@byte_buddy_agent//jar",
+ "@objenesis//jar",
+ ],
+)
+
+java_library(
name = "servlet-api",
visibility = [
"//org.eclipse.jgit.http.apache:__pkg__",