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:
parent
e54fde8616
commit
0aa8eca5f1
|
@ -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"],
|
||||
)
|
||||
|
|
|
@ -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"):
|
||||
|
|
Loading…
Reference in New Issue