Christopher Elías
08/12/2020, 12:10 AMno
08/12/2020, 7:19 AMimplementation
instead of api
you'll also have to redeclare your dependencies in the consuming module.
i doubt this will affect build times though. it is likely something else. you can use a build scan to see what is taking time: https://scans.gradle.com/Joost Klitsie
08/12/2020, 7:27 AMChristopher Elías
08/12/2020, 8:50 PMapi Dependencies.dagger
api Dependencies.daggerAndroidSupport
kapt Dependencies.daggerCompiler
kapt Dependencies.daggerAndroidProcessor
If use "implementation" instead of "api" then the console will throw errors. A clean build could take like 4 - 7 mins, aftaer that a few seconds, but if I work on multiple features then the build take again 4-7 mins. The project also have DataBinding, I don't know if there is something else I can do to speed up the compile times. Also I see than when I made a change all the tasks run again... Also, none of my features are implementing each other. My feature library modules only depend on the core modules. And the App module implement all modules (core and features) for construct the dagger graph...no
08/12/2020, 9:14 PM--scan
or check the guide at scans.gradle.com