Not the gradle tasks command
Thanks, it is unbelievable this is not documented.
11.6.2. Listing tasks
Running gradle tasks gives you a list of the main tasks of the selected project
You are so wrong, read Radim’s answer.
a “selected project” is a project, and a subproject is a project…
“gradle -b :projectx tasks” defines a selected project, but it wouldn’t work as expected as “grade :projectx:tasks”
see the difference!