@Francois_Guillot gradle tasks --all
does work.
However, I was looking for something that gives more of a tree view, so that I can easily detect what causes a specific task to run, for instance if I want to check why the task myCustomTask
runs when I run gradle build
. This can involve a series of transitive dependencies, thus a tree view would be clearer.