--- /dev/null
+java_library(
+ name = "commons-compress",
+ visibility = ["//org.eclipse.jgit.archive:__pkg__"],
+ exports = ["@commons_compress//jar"],
+)
+
+java_library(
+ name = "gson",
+ visibility = ["//org.eclipse.jgit.lfs.server:__pkg__"],
+ exports = ["@gson//jar"],
+)
+
+java_library(
+ name = "httpclient",
+ visibility = ["//org.eclipse.jgit.http.apache:__pkg__"],
+ exports = ["@httpclient//jar"],
+)
+
+java_library(
+ name = "httpcore",
+ visibility = [
+ "//org.eclipse.jgit.http.apache:__pkg__",
+ "//org.eclipse.jgit.lfs.server:__pkg__",
+ ],
+ exports = ["@httpcore//jar"],
+)
+
+java_library(
+ name = "javaewah",
+ visibility = ["//visibility:public"],
+ exports = ["@javaewah//jar"],
+)
+
+java_library(
+ name = "jsch",
+ visibility = ["//org.eclipse.jgit:__pkg__"],
+ exports = ["@jsch//jar"],
+)
+
+java_library(
+ name = "junit",
+ visibility = ["//org.eclipse.jgit.junit:__pkg__"],
+ exports = ["@junit//jar"],
+)
+
+java_library(
+ name = "servlet-api",
+ visibility = [
+ "//org.eclipse.jgit.http.apache:__pkg__",
+ "//org.eclipse.jgit.http.server:__pkg__",
+ "//org.eclipse.jgit.lfs.server:__pkg__",
+ ],
+ exports = ["@servlet_api_3_1//jar"],
+)
+
+java_library(
+ name = "slf4j-api",
+ visibility = ["//visibility:public"],
+ exports = ["@log_api//jar"],
+)
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",
- "@commons_compress//jar",
],
)
resource_strip_prefix = "org.eclipse.jgit.http.server/resources",
resources = glob(["resources/**"]),
deps = [
+ "//lib:servlet-api",
# We want these deps to be provided_deps
"//org.eclipse.jgit:jgit",
- "@servlet_api_3_1//jar",
],
)
resource_strip_prefix = "org.eclipse.jgit.lfs.server/resources",
resources = glob(["resources/**"]),
deps = [
+ "//lib:gson",
+ "//lib:httpcore",
+ "//lib:servlet-api",
+ "//lib:slf4j-api",
"//org.eclipse.jgit.http.apache:http-apache",
"//org.eclipse.jgit:jgit",
"//org.eclipse.jgit.lfs:jgit-lfs",
- "@gson//jar",
- "@httpcore//jar",
- "@log_api//jar",
- "@servlet_api_3_1//jar",
],
)