blob: 091dcad66fce2df12f48a4acfaab23aa88c3d5af [file] [log] [blame]
David Ostrovsky78be3df2020-11-16 22:20:28 +01001load("@rules_java//java:defs.bzl", "java_library")
David Ostrovsky20c2fd42019-08-30 10:19:56 +02002
David Ostrovskyb81b4f72016-05-21 19:55:01 +02003java_library(
David Ostrovskyfa189072016-11-30 08:52:06 +01004 name = "guice",
5 data = ["//lib:LICENSE-Apache2.0"],
6 visibility = ["//visibility:public"],
7 exports = [
David Ostrovskye1359a32018-06-08 09:16:50 +02008 ":guice-library",
David Ostrovskyf4f17452023-05-02 07:29:05 +02009 ":jakarta-inject",
David Ostrovskye1359a32018-06-08 09:16:50 +020010 ":javax_inject",
David Ostrovskyfa189072016-11-30 08:52:06 +010011 ],
David Ostrovskyb81b4f72016-05-21 19:55:01 +020012)
13
14java_library(
David Ostrovskye1359a32018-06-08 09:16:50 +020015 name = "guice-library",
David Ostrovskyfa189072016-11-30 08:52:06 +010016 data = ["//lib:LICENSE-Apache2.0"],
17 visibility = ["//visibility:public"],
David Ostrovsky78be3df2020-11-16 22:20:28 +010018 exports = ["@guice-library//jar"],
19 runtime_deps = ["aopalliance"],
David Ostrovskyb81b4f72016-05-21 19:55:01 +020020)
21
22java_library(
David Ostrovskyfa189072016-11-30 08:52:06 +010023 name = "guice-assistedinject",
24 data = ["//lib:LICENSE-Apache2.0"],
25 visibility = ["//visibility:public"],
David Ostrovskye1359a32018-06-08 09:16:50 +020026 exports = ["@guice-assistedinject//jar"],
David Ostrovskyfa189072016-11-30 08:52:06 +010027 runtime_deps = [":guice"],
David Ostrovskyb81b4f72016-05-21 19:55:01 +020028)
29
30java_library(
David Ostrovskyfa189072016-11-30 08:52:06 +010031 name = "guice-servlet",
32 data = ["//lib:LICENSE-Apache2.0"],
33 visibility = ["//visibility:public"],
David Ostrovskye1359a32018-06-08 09:16:50 +020034 exports = ["@guice-servlet//jar"],
David Ostrovskyfa189072016-11-30 08:52:06 +010035 runtime_deps = [":guice"],
David Ostrovskyb81b4f72016-05-21 19:55:01 +020036)
37
38java_library(
David Ostrovsky78be3df2020-11-16 22:20:28 +010039 name = "aopalliance",
40 data = ["//lib:LICENSE-PublicDomain"],
41 exports = ["@aopalliance//jar"],
42)
43
44java_library(
David Ostrovskyf4f17452023-05-02 07:29:05 +020045 name = "jakarta-inject",
46 data = ["//lib:LICENSE-Apache2.0"],
47 visibility = ["//visibility:public"],
48 exports = ["@jakarta-inject-api//jar"],
49)
50
51java_library(
David Ostrovskye1359a32018-06-08 09:16:50 +020052 name = "javax_inject",
David Ostrovskyfa189072016-11-30 08:52:06 +010053 data = ["//lib:LICENSE-Apache2.0"],
54 visibility = ["//visibility:public"],
55 exports = ["@javax_inject//jar"],
Han-Wen Nienhuysbcb46c32016-08-24 14:34:23 -030056)