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