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-archive", 7e92a0c3aSDavid Ostrovsky srcs = glob( 8c80d8c59SDavid Pursehouse ["src/**/*.java"], 9dd5e500aSDavid Pursehouse exclude = ["src/org/eclipse/jgit/archive/FormatActivator.java"], 10e92a0c3aSDavid Ostrovsky ), 11dd5e500aSDavid Pursehouse resource_strip_prefix = "org.eclipse.jgit.archive/resources", 12dd5e500aSDavid Pursehouse resources = glob(["resources/**"]), 13dd5e500aSDavid Pursehouse deps = [ 14bc5014faSJonathan Nieder "//lib:commons-compress", 15dd5e500aSDavid Pursehouse # We want these deps to be provided_deps 16dd5e500aSDavid Pursehouse "//org.eclipse.jgit:jgit", 17e92a0c3aSDavid Ostrovsky ], 18e92a0c3aSDavid Ostrovsky) 19