1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
load(
"@com_googlesource_gerrit_bazlets//tools:junit.bzl",
"junit_tests",
)
load("@rules_java//java:defs.bzl", "java_library")
package(default_visibility = ["//visibility:public"])
junit_tests(
name = "lfs",
srcs = glob(["tst/**/*.java"]),
tags = ["lfs"],
deps = [
":helpers",
"//lib:junit",
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.junit:junit",
"//org.eclipse.jgit.lfs:jgit-lfs",
],
)
java_library(
name = "helpers",
testonly = 1,
srcs = glob(["src/**/*.java"]),
deps = [
"//lib:junit",
"//org.eclipse.jgit.lfs:jgit-lfs",
],
)
|