Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 3d7dbd21f112473bbe95da4bdd14583961608d41 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
load("@rules_java//java:defs.bzl", "java_library")

package(default_visibility = ["//visibility:public"])

java_library(
    name = "jgit-archive",
    srcs = glob(
        ["src/**/*.java"],
        exclude = ["src/org/eclipse/jgit/archive/FormatActivator.java"],
    ),
    resource_strip_prefix = "org.eclipse.jgit.archive/resources",
    resources = glob(["resources/**"]),
    deps = [
        "//lib:commons-compress",
        # We want these deps to be provided_deps
        "//org.eclipse.jgit:jgit",
    ],
)

Back to the top