gerrit/lib/guice/BUILD
David Ostrovsky f98a60b35f Bazel: Harmonize names of external repositories
Recent Bazel versions support dash character in external repository
names. Consistently use them with one exception: javax_inject. This is
needed to match the name in the rules_closure.

Change-Id: I1e75690fe1ee2ab32fffe07c0c30dbed84753960
2018-06-08 19:33:01 +09:00

55 lines
1.3 KiB
Python

java_library(
name = "guice",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = [
":guice-library",
":javax-inject",
":multibindings",
],
)
java_library(
name = "guice-library",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@guice-library//jar"],
runtime_deps = ["aopalliance"],
)
java_library(
name = "guice-assistedinject",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@guice-assistedinject//jar"],
runtime_deps = [":guice"],
)
java_library(
name = "guice-servlet",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@guice-servlet//jar"],
runtime_deps = [":guice"],
)
java_library(
name = "aopalliance",
data = ["//lib:LICENSE-PublicDomain"],
exports = ["@aopalliance//jar"],
)
java_library(
name = "javax-inject",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@javax_inject//jar"],
)
java_library(
name = "multibindings",
data = ["//lib:LICENSE-Apache2.0"],
visibility = ["//visibility:public"],
exports = ["@multibindings//jar"],
)