Bazel: Add missing dependencies for ArchiveCommandTest

Dependencies on commons-compress, xz, and jgit-archive are required
for the build to succeed.

Change-Id: I42f3721078a240ad93b8dcab909e66b9bfff0b56
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
This commit is contained in:
David Pursehouse 2019-07-16 11:41:05 +09:00
parent e54fde8616
commit 0aa8eca5f1
2 changed files with 7 additions and 0 deletions

View File

@ -12,6 +12,7 @@ java_library(
visibility = [
"//org.eclipse.jgit.archive:__pkg__",
"//org.eclipse.jgit.pgm.test:__pkg__",
"//org.eclipse.jgit.test:__pkg__",
],
exports = ["@commons-compress//jar"],
)

View File

@ -41,6 +41,12 @@ def tests(tests):
additional_deps = [
"//lib:jsch",
]
if src.endswith("ArchiveCommandTest.java"):
additional_deps = [
"//lib:commons-compress",
"//lib:xz",
"//org.eclipse.jgit.archive:jgit-archive",
]
heap_size = "-Xmx256m"
if src.endswith("HugeCommitMessageTest.java"):