Architecture: Disadvantages of multi‐module - devrath/RunTracer GitHub Wiki

When multi-module is not the best approach

  • Say you are working on a project that you alone own and does not contain 10's developers.
  • It's not advisable to have a muti-module approach
  • This is because each module comes with its own gradle file and if not managed properly with a grade management system, You would run into trouble of fixing gradle issues.
  • Also it consumes a lot of initial build effort to set up the multi-module architecture.

What is a solution

  • We could instead have packages simulating layers and build the project in a single app-module.
  • Later we can extend to multi-module, once if we find the need to do it just by moving the files.