Hello. I have a simple setup where I have my app a...
# dagger
c
Hello. I have a simple setup where I have my app and another gradle module. All of this works fine. Now I created a dagger module with a @Binds @IntoSet in both my app module and my other gradle module. But now, only the app modules @Binds @IntoSet gets loaded in my app, not the gradle modules. Is there something I'm missing here on how to get this second dagger module to be provided correctly?
a
The other gradle modules need to have kapt or annotationProcessor config on dagger compiler applied, was that setup as well?
c
Yep! Confirmed they have kapt and dagger compiler. Confirmed both of the Modules have @Module @InstallIn(SingletonComponent::class)
I can see that there is a file generated for each modules called XModuleDeps.java and YModuleDeps.java. So I think the generation is actually working. Also @Arun you are the creator of scabbard right? Love that lib. Thanks!
And in the generated App_HiltComponents.java I can see both modules .class defined in there. 😄
I really think I have this set up right. /shruggie