I know I can use gradle tasks
to list the tasks for a root project. I inherited a massive project with dozens of subprojects 4-5 levels deep. Many of the tasks are created dynamically.
How can I list tasks available for a particular subproject?
I know I can use gradle tasks
to list the tasks for a root project. I inherited a massive project with dozens of subprojects 4-5 levels deep. Many of the tasks are created dynamically.
How can I list tasks available for a particular subproject?
Consider this working example.
It has several subprojects, including
system:foo
, which generates spoof tasks for a list of browsers. Note this command-line:gradle system:foo:tasks --all
which will list:
p.s. The example was tested with Gradle 6.3 and Gradle 5.6.1