Thanks @Rene & @Dan_Stine.
Both work nicely.
VisTEG ( https://plugins.gradle.org/plugin/cz.malohlava ) is simple and does pretty much what I was asking for.
Though I wish there was a plugin that simply prints the task dependency tree directly to the console, just like gradle dependencies
does for artifacts.
Maybe I’ll give it a shot and try to develop such a plugin myself…