gerrit/lib/httpcomponents/BUILD
David Pursehouse 31c82401f0 Merge branch 'stable-2.15' into stable-2.16
* stable-2.15:
  Bazel: Add fixes for --incompatible_load_{java|python}_rules_from_bzl
  Bazel: Bump minimum supported version to 0.29.0
  Lucene index configuration and docs.

Change-Id: I6c597cbc89fafece83c374e9b36c4c4c0126704f
2019-09-04 16:35:55 +09:00

45 lines
1.0 KiB
Python

load("@rules_java//java:defs.bzl", "java_library")
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"],
)