You can list all the tasks which belong to the multiple projects by using the following command. output: ------------------------------------------------------------
All tasks runnable from root project
------------------------------------------------------------
Default tasks: dists Build tasks
-----------
clean - Deletes the build directory (build) dists - Builds the distribution libs - Builds the JAR Build Setup tasks
-----------------
init - Initializes a new Gradle build. [incubating] wrapper - Generates Gradle wrapper files. [incubating] Help tasks
----------
buildEnvironment - Displays all buildscript dependencies declared in root project 'projectReports'. components - Displays the components produced by root project 'projectReports'. [incubating] dependencies - Displays all dependencies declared in root project 'projectReports'. dependencyInsight - Displays the insight into a specific dependency in root project 'projectReports'. help - Displays a help message. model - Displays the configuration model of root project 'projectReports'. [incubating] projects - Displays the sub-projects of root project 'projectReports'. properties - Displays the properties of root project 'projectReports'. tasks - Displays the tasks runnable from root project 'projectReports' (some of the displayed tasks may belong to subprojects).
To see all tasks and more detail, run gradle tasks --all To see more detail about a task, run gradle help --task > gradle -q tasks
------------------------------------------------------------
All tasks runnable from root project -
-----------------------------------------------------------
Default tasks: dists Build tasks
-----------
clean - Deletes the build directory (build) dists - Builds the distribution libs - Builds the JAR Build Setup tasks
-----------------
init - Initializes a new Gradle build. [incubating] wrapper - Generates Gradle wrapper files. [incubating] Help tasks
----------
components - Displays the components produced by root project 'projectReports'. dependencies - Displays all dependencies declared in root project 'projectReports'. dependencyInsight - Displays the insight into a specific dependency in root project 'projectReports'. help - Displays a help message projects - Displays the sub-projects of root project 'projectReports'. properties - Displays the properties of root project 'projectReports'. tasks - Displays the tasks runnable from root project 'projectReports' (some of the displayed tasks may belong to subprojects). To see all tasks and more detail, run with --all.
C:\> gradle -q tasks