Browse Source

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>
stable-5.1
David Pursehouse 5 years ago
parent
commit
0aa8eca5f1
  1. 1
      lib/BUILD
  2. 6
      org.eclipse.jgit.test/tests.bzl

1
lib/BUILD

@ -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"],
)

6
org.eclipse.jgit.test/tests.bzl

@ -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…
Cancel
Save