rattleshirt
06/11/2020, 11:37 AM@InstallIn work inside gradle submodules? Would you need a sub component per module? I couldn’t find anything in the official doc regarding this.Javier
06/11/2020, 11:38 AMrattleshirt
06/11/2020, 11:39 AM@InstallIn requires access to the ApplicationComponent::classManuel Vivo
06/11/2020, 11:39 AM@InstallIn is in the transitive dependencies of the module that contains the @HiltAndroidApp, that module will be automatically picked up and installed in the component you specified.rattleshirt
06/11/2020, 11:39 AMApplicationComponent?Manuel Vivo
06/11/2020, 11:40 AMApplicationComponentrattleshirt
06/11/2020, 11:43 AMApplicationComponent is actually provided by Hilt. 🤦rattleshirt
06/11/2020, 11:44 AMrattleshirt
06/11/2020, 11:44 AMManuel Vivo
06/11/2020, 11:45 AMrattleshirt
06/11/2020, 11:45 AMJavier
06/11/2020, 11:45 AMrattleshirt
06/11/2020, 11:45 AMrattleshirt
06/11/2020, 11:46 AM@Module(includes=) would do the trick for non-android submodulesJavier
06/11/2020, 11:48 AMManuel Vivo
06/11/2020, 11:50 AMJavier
06/11/2020, 12:23 PMwasyl
06/11/2020, 8:32 PMManuel Vivo
06/11/2020, 10:02 PM@AliasOf annotationManuel Vivo
06/11/2020, 10:02 PMwasyl
06/12/2020, 9:14 AMandroid development easier, but ignoring common and useful use case of having non-android modules is not that helpful, and will only introduce inconsistency in the project. And once Hilt is stable and it’s not addressed (and I don’t have any hopes at this point) it’s gonna be same thing as with https://issuetracker.google.com/issues/123071304, so “it’s too late now, let’s make this change never”Javier
06/12/2020, 9:55 AMimplementation("...:core") I don't need to put -jvm to get the jvm, and if I write the same snippet in an Android module, I don't need to add the -android (or another suffix) to get it. So using the same implementation(...:core) in all modules is easier than having to think if I have to add multiple implementation or just one.