summaryrefslogtreecommitdiffstats
path: root/lib/httpcomponents/BUILD
blob: 03d9b68e2b011156a1ab6166169cf40a4faff1b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
package(default_visibility = ["//visibility:public"])

java_library(
    name = "fluent-hc",
    data = ["//lib:LICENSE-Apache2.0"],
    exports = ["@fluent-hc//jar"],
    runtime_deps = [":httpclient"],
)

java_library(
    name = "httpclient",
    data = ["//lib:LICENSE-Apache2.0"],
    exports = ["@httpclient//jar"],
    runtime_deps = [
        ":httpcore",
        "//lib/commons:codec",
        "//lib/log:jcl-over-slf4j",
    ],
)

java_library(
    name = "httpcore",
    data = ["//lib:LICENSE-Apache2.0"],
    exports = ["@httpcore//jar"],
)

java_library(
    name = "httpasyncclient",
    data = ["//lib:LICENSE-Apache2.0"],
    visibility = [
        "//java/com/google/gerrit/elasticsearch:__pkg__",
        "//javatests/com/google/gerrit/elasticsearch:__pkg__",
    ],
    exports = ["@httpasyncclient//jar"],
)

java_library(
    name = "httpcore-nio",
    data = ["//lib:LICENSE-Apache2.0"],
    visibility = ["//java/com/google/gerrit/elasticsearch:__pkg__"],
    exports = ["@httpcore-nio//jar"],
)