20fa6bd8b2
slf4j dependencies were not included in the BUILD file (I43e6cf797cc) which cause the Bazel build to fail when attempting to run the tests. Change-Id: Ie5c8bbb80625453a066e29f92660da7b0e5c8674
60 lines
1.3 KiB
Python
60 lines
1.3 KiB
Python
load("@rules_java//java:defs.bzl", "java_library")
|
|
|
|
java_library(
|
|
name = "api",
|
|
data = ["//lib:LICENSE-slf4j"],
|
|
visibility = [
|
|
"//javatests/com/google/gerrit/elasticsearch:__pkg__",
|
|
"//lib/jgit/org.eclipse.jgit:__pkg__",
|
|
"//plugins:__pkg__",
|
|
],
|
|
exports = ["@log-api//jar"],
|
|
)
|
|
|
|
java_library(
|
|
name = "ext",
|
|
data = ["//lib:LICENSE-slf4j"],
|
|
visibility = ["//visibility:public"],
|
|
exports = ["@log-ext//jar"],
|
|
)
|
|
|
|
java_library(
|
|
name = "impl-log4j",
|
|
data = ["//lib:LICENSE-slf4j"],
|
|
visibility = ["//visibility:public"],
|
|
exports = ["@impl-log4j//jar"],
|
|
runtime_deps = [":log4j"],
|
|
)
|
|
|
|
java_library(
|
|
name = "jcl-over-slf4j",
|
|
data = ["//lib:LICENSE-slf4j"],
|
|
visibility = ["//visibility:public"],
|
|
exports = ["@jcl-over-slf4j//jar"],
|
|
)
|
|
|
|
java_library(
|
|
name = "log4j",
|
|
data = ["//lib:LICENSE-Apache2.0"],
|
|
visibility = ["//visibility:public"],
|
|
exports = ["@log4j//jar"],
|
|
)
|
|
|
|
java_library(
|
|
name = "jsonevent-layout",
|
|
data = ["//lib:LICENSE-Apache2.0"],
|
|
visibility = ["//visibility:public"],
|
|
exports = ["@jsonevent-layout//jar"],
|
|
runtime_deps = [
|
|
":json-smart",
|
|
"//lib/commons:lang",
|
|
],
|
|
)
|
|
|
|
java_library(
|
|
name = "json-smart",
|
|
data = ["//lib:LICENSE-Apache2.0"],
|
|
visibility = ["//visibility:public"],
|
|
exports = ["@json-smart//jar"],
|
|
)
|