David Pursehouse | 85cea8c | 2019-09-05 09:46:59 +0900 | [diff] [blame] | 1 | load("@rules_java//java:defs.bzl", "java_library") |
| 2 | |
David Pursehouse | dd5e500 | 2017-01-20 13:03:03 +0900 | [diff] [blame] | 3 | package(default_visibility = ["//visibility:public"]) |
David Ostrovsky | e92a0c3 | 2016-11-06 09:06:54 +0100 | [diff] [blame] | 4 | |
| 5 | java_library( |
David Pursehouse | dd5e500 | 2017-01-20 13:03:03 +0900 | [diff] [blame] | 6 | name = "jgit-archive", |
| 7 | srcs = glob( |
David Pursehouse | c80d8c5 | 2017-04-13 14:14:55 +0900 | [diff] [blame] | 8 | ["src/**/*.java"], |
David Pursehouse | dd5e500 | 2017-01-20 13:03:03 +0900 | [diff] [blame] | 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 = [ |
Jonathan Nieder | bc5014f | 2017-03-19 17:41:26 -0700 | [diff] [blame] | 14 | "//lib:commons-compress", |
David Pursehouse | dd5e500 | 2017-01-20 13:03:03 +0900 | [diff] [blame] | 15 | # We want these deps to be provided_deps |
| 16 | "//org.eclipse.jgit:jgit", |
David Pursehouse | dd5e500 | 2017-01-20 13:03:03 +0900 | [diff] [blame] | 17 | ], |
David Ostrovsky | e92a0c3 | 2016-11-06 09:06:54 +0100 | [diff] [blame] | 18 | ) |