xref: /JGit/org.eclipse.jgit.archive/BUILD (revision 85cea8c583ea08dab8cf8de2daafcb4ba9629ae5)
1load("@rules_java//java:defs.bzl", "java_library")
2
3package(default_visibility = ["//visibility:public"])
4
5java_library(
6    name = "jgit-archive",
7    srcs = glob(
8        ["src/**/*.java"],
9        exclude = ["src/org/eclipse/jgit/archive/FormatActivator.java"],
10    ),
11    resource_strip_prefix = "org.eclipse.jgit.archive/resources",
12    resources = glob(["resources/**"]),
13    deps = [
14        "//lib:commons-compress",
15        # We want these deps to be provided_deps
16        "//org.eclipse.jgit:jgit",
17    ],
18)
19