I have a project directory that looks like:
MyProject
├── *app*
├── build
├── build.gradle
├── gradle
├── gradle.properties
├── gradlew
├── gradlew.bat
├── keystore.properties
├── local.properties
├── *module2*
├── *module3*
└── settings.gradle
where the modules have been highlighted.
I know I can build a task of a particular module / subproject by doing:
./gradlew module:assemble
and I can get all tasks with:
./gradlew tasks
But how can I get the names of the modules themselves (i.e. app, module2, module3)?