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