David Ostrovsky | 78be3df | 2020-11-16 22:20:28 +0100 | [diff] [blame] | 1 | load("@rules_java//java:defs.bzl", "java_library") |
David Ostrovsky | 20c2fd4 | 2019-08-30 10:19:56 +0200 | [diff] [blame] | 2 | |
David Ostrovsky | b81b4f7 | 2016-05-21 19:55:01 +0200 | [diff] [blame] | 3 | java_library( |
David Ostrovsky | fa18907 | 2016-11-30 08:52:06 +0100 | [diff] [blame] | 4 | name = "guice", |
| 5 | data = ["//lib:LICENSE-Apache2.0"], |
| 6 | visibility = ["//visibility:public"], |
| 7 | exports = [ |
David Ostrovsky | e1359a3 | 2018-06-08 09:16:50 +0200 | [diff] [blame] | 8 | ":guice-library", |
David Ostrovsky | f4f1745 | 2023-05-02 07:29:05 +0200 | [diff] [blame] | 9 | ":jakarta-inject", |
David Ostrovsky | e1359a3 | 2018-06-08 09:16:50 +0200 | [diff] [blame] | 10 | ":javax_inject", |
David Ostrovsky | fa18907 | 2016-11-30 08:52:06 +0100 | [diff] [blame] | 11 | ], |
David Ostrovsky | b81b4f7 | 2016-05-21 19:55:01 +0200 | [diff] [blame] | 12 | ) |
| 13 | |
| 14 | java_library( |
David Ostrovsky | e1359a3 | 2018-06-08 09:16:50 +0200 | [diff] [blame] | 15 | name = "guice-library", |
David Ostrovsky | fa18907 | 2016-11-30 08:52:06 +0100 | [diff] [blame] | 16 | data = ["//lib:LICENSE-Apache2.0"], |
| 17 | visibility = ["//visibility:public"], |
David Ostrovsky | 78be3df | 2020-11-16 22:20:28 +0100 | [diff] [blame] | 18 | exports = ["@guice-library//jar"], |
| 19 | runtime_deps = ["aopalliance"], |
David Ostrovsky | b81b4f7 | 2016-05-21 19:55:01 +0200 | [diff] [blame] | 20 | ) |
| 21 | |
| 22 | java_library( |
David Ostrovsky | fa18907 | 2016-11-30 08:52:06 +0100 | [diff] [blame] | 23 | name = "guice-assistedinject", |
| 24 | data = ["//lib:LICENSE-Apache2.0"], |
| 25 | visibility = ["//visibility:public"], |
David Ostrovsky | e1359a3 | 2018-06-08 09:16:50 +0200 | [diff] [blame] | 26 | exports = ["@guice-assistedinject//jar"], |
David Ostrovsky | fa18907 | 2016-11-30 08:52:06 +0100 | [diff] [blame] | 27 | runtime_deps = [":guice"], |
David Ostrovsky | b81b4f7 | 2016-05-21 19:55:01 +0200 | [diff] [blame] | 28 | ) |
| 29 | |
| 30 | java_library( |
David Ostrovsky | fa18907 | 2016-11-30 08:52:06 +0100 | [diff] [blame] | 31 | name = "guice-servlet", |
| 32 | data = ["//lib:LICENSE-Apache2.0"], |
| 33 | visibility = ["//visibility:public"], |
David Ostrovsky | e1359a3 | 2018-06-08 09:16:50 +0200 | [diff] [blame] | 34 | exports = ["@guice-servlet//jar"], |
David Ostrovsky | fa18907 | 2016-11-30 08:52:06 +0100 | [diff] [blame] | 35 | runtime_deps = [":guice"], |
David Ostrovsky | b81b4f7 | 2016-05-21 19:55:01 +0200 | [diff] [blame] | 36 | ) |
| 37 | |
| 38 | java_library( |
David Ostrovsky | 78be3df | 2020-11-16 22:20:28 +0100 | [diff] [blame] | 39 | name = "aopalliance", |
| 40 | data = ["//lib:LICENSE-PublicDomain"], |
| 41 | exports = ["@aopalliance//jar"], |
| 42 | ) |
| 43 | |
| 44 | java_library( |
David Ostrovsky | f4f1745 | 2023-05-02 07:29:05 +0200 | [diff] [blame] | 45 | name = "jakarta-inject", |
| 46 | data = ["//lib:LICENSE-Apache2.0"], |
| 47 | visibility = ["//visibility:public"], |
| 48 | exports = ["@jakarta-inject-api//jar"], |
| 49 | ) |
| 50 | |
| 51 | java_library( |
David Ostrovsky | e1359a3 | 2018-06-08 09:16:50 +0200 | [diff] [blame] | 52 | name = "javax_inject", |
David Ostrovsky | fa18907 | 2016-11-30 08:52:06 +0100 | [diff] [blame] | 53 | data = ["//lib:LICENSE-Apache2.0"], |
| 54 | visibility = ["//visibility:public"], |
| 55 | exports = ["@javax_inject//jar"], |
Han-Wen Nienhuys | bcb46c3 | 2016-08-24 14:34:23 -0300 | [diff] [blame] | 56 | ) |