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