Merge branch 'stable-2.14' into stable-2.15

* stable-2.14:
  Elasticsearch lib: extract Jest into its own (lib)

Change-Id: I30eea030f491569fa5a5f289d8b316f1ca0cd123
This commit is contained in:
David Pursehouse
2018-04-13 12:56:08 +09:00
3 changed files with 25 additions and 23 deletions

View File

@@ -15,10 +15,10 @@ java_library(
"//lib/commons:codec",
"//lib/commons:lang",
"//lib/elasticsearch",
"//lib/elasticsearch:jest",
"//lib/elasticsearch:jest-common",
"//lib/guice",
"//lib/guice:guice-assistedinject",
"//lib/jest",
"//lib/jest:jest-common",
"//lib/jgit/org.eclipse.jgit:jgit",
"//lib/joda:joda-time",
"//lib/log:api",

View File

@@ -26,27 +26,6 @@ java_library(
],
)
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"],

23
lib/jest/BUILD Normal file
View File

@@ -0,0 +1,23 @@
package(default_visibility = ["//visibility:public"])
java_library(
name = "jest-common",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@jest_common//jar"],
)
java_library(
name = "jest",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@jest//jar"],
runtime_deps = [
":jest-common",
"//lib/commons:lang3",
"//lib/httpcomponents:httpasyncclient",
"//lib/httpcomponents:httpclient",
"//lib/httpcomponents:httpcore-nio",
"//lib/httpcomponents:httpcore-niossl",
],
)