Deep android project structure
Inspired by Dmytro Danylyk post about using sourceSets to have deep project structure in android, i’ve written small gradle plugin to automate this task.
To use it in you project add this to top level build.gradle
Apply plugin in project level build.gradle
Specify root directory to store screen related resources
Sync Project with gradle files, and it will load directory structure to source set automatically.
Also works for multiple flavours.
All source code available on GitHub