xref: /JGit/org.eclipse.jgit.lfs.test/BUILD (revision 8b589b3bf264075d5748b10197d226a452c4422b)
10f6ddb37SDavid Ostrovskyload(
20f6ddb37SDavid Ostrovsky    "@com_googlesource_gerrit_bazlets//tools:junit.bzl",
30f6ddb37SDavid Ostrovsky    "junit_tests",
40f6ddb37SDavid Ostrovsky)
522973d13SMatthias Sohnload("@rules_java//java:defs.bzl", "java_library")
60f6ddb37SDavid Ostrovsky
79150caa8SDavid Pursehousepackage(default_visibility = ["//visibility:public"])
89150caa8SDavid Pursehouse
90f6ddb37SDavid Ostrovskyjunit_tests(
100f6ddb37SDavid Ostrovsky    name = "lfs",
110f6ddb37SDavid Ostrovsky    srcs = glob(["tst/**/*.java"]),
120f6ddb37SDavid Ostrovsky    tags = ["lfs"],
130f6ddb37SDavid Ostrovsky    deps = [
140f6ddb37SDavid Ostrovsky        ":helpers",
150f6ddb37SDavid Ostrovsky        "//lib:junit",
16*8b589b3bSMatthias Sohn        "//lib:slf4j-api",
170f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit:jgit",
180f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.junit:junit",
190f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs:jgit-lfs",
200f6ddb37SDavid Ostrovsky    ],
210f6ddb37SDavid Ostrovsky)
220f6ddb37SDavid Ostrovsky
230f6ddb37SDavid Ostrovskyjava_library(
240f6ddb37SDavid Ostrovsky    name = "helpers",
250f6ddb37SDavid Ostrovsky    testonly = 1,
260f6ddb37SDavid Ostrovsky    srcs = glob(["src/**/*.java"]),
270f6ddb37SDavid Ostrovsky    deps = [
280f6ddb37SDavid Ostrovsky        "//lib:junit",
290f6ddb37SDavid Ostrovsky        "//org.eclipse.jgit.lfs:jgit-lfs",
300f6ddb37SDavid Ostrovsky    ],
310f6ddb37SDavid Ostrovsky)
32