xref: /JGit/org.eclipse.jgit.pgm.test/BUILD (revision f17cb089aa3f8b72c9a9acd5ff2e1a3a5e977c76)
1load(
2    "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
3    "junit_tests",
4)
5load("@rules_java//java:defs.bzl", "java_library")
6
7junit_tests(
8    name = "pgm",
9    srcs = glob(["tst/**/*.java"]),
10    jvm_flags = [
11        "-Xmx512m",
12        "-Dfile.encoding=UTF-8",
13    ],
14    tags = ["pgm"],
15    deps = [
16        ":helpers",
17        "//lib:args4j",
18        "//lib:commons-compress",
19        "//lib:javaewah",
20        "//lib:junit",
21        "//lib:slf4j-api",
22        "//lib:slf4j-simple",
23        "//lib:xz",
24        "//org.eclipse.jgit:jgit",
25        "//org.eclipse.jgit.junit:junit",
26        "//org.eclipse.jgit.pgm:pgm",
27    ],
28)
29
30java_library(
31    name = "helpers",
32    testonly = 1,
33    srcs = glob(["src/**/*.java"]),
34    deps = [
35        "//lib:args4j",
36        "//lib:junit",
37        "//org.eclipse.jgit:jgit",
38        "//org.eclipse.jgit.junit:junit",
39        "//org.eclipse.jgit.pgm:pgm",
40    ],
41)
42