-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hey @Morfly !
I loved your presentation on Android Worldwide. I love how every dependency is so well scoped and the modules are loosely coupled.
The only problem I can see right now is that literally every module depends on common. I feel like when we have a new feature request we will introduce new Repositories and new domain models, but the repository and the models will only be really used in one or two feature modules.
Because the repositories and the domain models all live under the common module, every change to them will recompile the entire app, right? If so do you think it would be a good idea to separate the common modules based on the domain models, eg:
banking app
transactionsmodule withTransactiondomain model andTransactionRepositoryusermodule withUserdomain model andUserRepository.
These modules could work like common, but only those modules would depend on them that really need the models and repositories.
Does this make sense, or would this be unnecessary?