gerrit/lib/elasticsearch/BUILD
David Ostrovsky fa18907d7f Bazel: Reformat build files
Reformat the Bazel build files with the buildifier tool [1].

The style is different for Bazel files. Most notably, indentation level
is 4 spaces instead of 2, and " is used instead of '.

[1] https://github.com/bazelbuild/buildifier

Change-Id: I95c0c6f11b6d76572797853b4ebb5cee5ebd3c98
2016-12-07 11:33:07 +00:00

93 lines
2.2 KiB
Python

package(default_visibility = ["//visibility:public"])
java_library(
name = "elasticsearch",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@elasticsearch//jar"],
runtime_deps = [
":compress-lzf",
":hppc",
":jna",
":jsr166e",
":netty",
":t-digest",
"//lib/jackson:jackson-core",
"//lib/jackson:jackson-dataformat-cbor",
"//lib/jackson:jackson-dataformat-smile",
"//lib/joda:joda-time",
"//lib/lucene:lucene-codecs",
"//lib/lucene:lucene-highlighter",
"//lib/lucene:lucene-join",
"//lib/lucene:lucene-memory",
"//lib/lucene:lucene-queries",
"//lib/lucene:lucene-sandbox",
"//lib/lucene:lucene-spatial",
"//lib/lucene:lucene-suggest",
],
)
# Java REST client for Elasticsearch.
VERSION = "0.1.7"
java_library(
name = "jest-common",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@jest_common//jar"],
)
java_library(
name = "jest",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@jest//jar"],
runtime_deps = [
":elasticsearch",
":jest-common",
"//lib/commons:lang3",
"//lib/httpcomponents:httpasyncclient",
"//lib/httpcomponents:httpclient",
"//lib/httpcomponents:httpcore-nio",
"//lib/httpcomponents:httpcore-niossl",
],
)
java_library(
name = "compress-lzf",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//lib/elasticsearch:__pkg__"],
exports = ["@compress_lzf//jar"],
)
java_library(
name = "hppc",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//lib/elasticsearch:__pkg__"],
exports = ["@hppc//jar"],
)
java_library(
name = "jsr166e",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//lib/elasticsearch:__pkg__"],
exports = ["@jsr166e//jar"],
)
java_library(
name = "netty",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//lib/elasticsearch:__pkg__"],
exports = ["@netty//jar"],
)
java_library(
name = "t-digest",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//lib/elasticsearch:__pkg__"],
exports = ["@t_digest//jar"],
)
java_library(
name = "jna",
data = ["//lib:LICENSE-Apache2.0"],
exports = ["@jna//jar"],
)