list_gradle_projects
Lists the modules (sub-projects) in a Gradle multi-module Android build, showing the project map like :app, :core, :feature:login, to direct further build or variant queries.
Instructions
List the Gradle modules (sub-projects) in project_dir (gradlew projects) — the map of a multi-module build, e.g. :app, :core, :feature:login. Use it to find which module to point gradle_build/list_gradle_variants at, or to address a task at one module with ':' (e.g. :app:assembleDebug). A single-module build reports no sub-projects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | No | Path to the Android project root containing the Gradle wrapper (gradlew). Optional if session_set_defaults has pinned a project_dir for this session. |