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>
tags/v5.1.9.201908210455-r
David Pursehouse 4 years ago
parent
commit
0aa8eca5f1
2 changed files with 7 additions and 0 deletions
  1. 1
    0
      lib/BUILD
  2. 6
    0
      org.eclipse.jgit.test/tests.bzl

+ 1
- 0
lib/BUILD 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"],
)

+ 6
- 0
org.eclipse.jgit.test/tests.bzl 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"):

Loading…
Cancel
Save