1load("@rules_java//java:defs.bzl", "java_library") 2 3package(default_visibility = ["//visibility:public"]) 4 5java_library( 6 name = "junit", 7 testonly = 1, 8 srcs = glob(["src/**/*.java"]), 9 resource_strip_prefix = "org.eclipse.jgit.junit/resources", 10 resources = glob(["resources/**"]), 11 deps = [ 12 "//lib:junit", 13 # We want these deps to be provided_deps 14 "//org.eclipse.jgit:jgit", 15 ], 16) 17