[ODLPARENT-282] Integrate dagger.dev into the build process Created: 27/Apr/22 Updated: 30/May/23 |
|
| Status: | Confirmed |
| Project: | odlparent |
| Component/s: | General |
| Affects Version/s: | None |
| Fix Version/s: | 14.0.0 |
| Type: | New Feature | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Dagger is a compile-time alternative to Guice in that it works on top of javax.inject annotations. Unfortunately it will not support JSR-365 CDI nor javax.annotation, but that deficiency can be fixed by exposing appropriate modules and lifecycle, I think. Consider adding Dagger to default compilation, so that its bindings are generated for all @Inject-annotated classes. |