Android Hilt multi-module, do I need to add plugin to each module or only app

403 Views Asked by At

This is not clearly explained in official documentation.

Do I need to add the hilt plugin to each module of my app or only to the main module (:app)?

1

There are 1 best solutions below

2
On

Just add on main module,another module use from main module.