Files
gerrit/lib/httpcomponents/BUILD
Marco Miller 878009189f lib/jest for Elasticsearch: refactor dependencies
Move the commons-lang3 runtime dependency from jest to jest-common,
since the latter library is the one explicitly requiring it, as per [1]
and [2] below.

Remove the otherwise unnecessary explicit runtime dependencies, as well.
For httpcore-niossl, remove it also from httpcomponents thus WORKSPACE,
as the hereby removed reference to it was the very last one in Gerrit.

[1] https://mvnrepository.com/artifact/io.searchbox/jest-common/2.4.0
[2] https://mvnrepository.com/artifact/io.searchbox/jest/2.4.0

Bug: Issue 6094
Change-Id: Ia0d5e64acb438a91af80b79c20d120e8500a1cb9
2018-04-13 15:41:14 -04:00

48 lines
1.1 KiB
Python

package(default_visibility = ["//visibility:public"])
java_library(
name = "fluent-hc",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@fluent_hc//jar"],
runtime_deps = [":httpclient"],
)
java_library(
name = "httpclient",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@httpclient//jar"],
runtime_deps = [
":httpcore",
"//lib/commons:codec",
"//lib/log:jcl-over-slf4j",
],
)
java_library(
name = "httpcore",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@httpcore//jar"],
)
java_library(
name = "httpmime",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@httpmime//jar"],
)
java_library(
name = "httpasyncclient",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@httpasyncclient//jar"],
)
java_library(
name = "httpcore-nio",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@httpcore_nio//jar"],
)