xref: /JGit/org.eclipse.jgit.http.server/BUILD (revision 85cea8c583ea08dab8cf8de2daafcb4ba9629ae5)
1*85cea8c5SDavid Pursehouseload("@rules_java//java:defs.bzl", "java_library")
2*85cea8c5SDavid Pursehouse
3dd5e500aSDavid Pursehousepackage(default_visibility = ["//visibility:public"])
4e92a0c3aSDavid Ostrovsky
5e92a0c3aSDavid Ostrovskyjava_library(
6dd5e500aSDavid Pursehouse    name = "jgit-servlet",
7c80d8c59SDavid Pursehouse    srcs = glob(["src/**/*.java"]),
8dd5e500aSDavid Pursehouse    resource_strip_prefix = "org.eclipse.jgit.http.server/resources",
9dd5e500aSDavid Pursehouse    resources = glob(["resources/**"]),
10dd5e500aSDavid Pursehouse    deps = [
11bc5014faSJonathan Nieder        "//lib:servlet-api",
12dd5e500aSDavid Pursehouse        # We want these deps to be provided_deps
13dd5e500aSDavid Pursehouse        "//org.eclipse.jgit:jgit",
14e92a0c3aSDavid Ostrovsky    ],
15e92a0c3aSDavid Ostrovsky)
16