vmadalin / android-modular-architecture

📚 Sample Android Components Architecture on a modular word focused on the scalability, testability and maintainability written in Kotlin, following best practices using Jetpack.
https://proandroiddev.com/android-components-architecture-in-a-modular-word-7414a0631969
Apache License 2.0
2.41k stars 392 forks source link

Dependency Generator generates tasks in every module #17

Closed fajarnuha closed 3 years ago

fajarnuha commented 4 years ago

Description

Dependency Generator generates tasks in every module resulting graph is generated in every module build, I think its better to keep it lean and generate task only on rootProject

and also it'd be awesome if we could add custom generator task that has local module filter

Basic Information

Details

vmadalin commented 3 years ago

Thanks, @fajarnuha for your suggestion. My apologies for the delay but I don't dedicate to much time to the project in order to maintain it. In fact, you are right the problem is that the Dependency Generator is a gradle plugin and it's necessary to generate the graph dependency per each module and I used it in order to generate the screenshots module dependencies.

Of course, it's a good tool but for modular projects, I was forced to use the 0.6.0-SNAPSHOT in order to make it work.