, this should run the task foo in all subprojects.
Now the command:
sadly behaves against that general pattern, i.e. it only executs inthe root project.
In my case case I have a root project without any java sources, and multiple subprojects with java sources, and I would like to get the dependencies of each of those. I copied snippets from the gradle project itself:
In the meantime, couldn’t he write a task that just iterates through the subprojects and their dependencies and does the same thing? In that vein, could you iterate through the subprojects and run the “dependencies” task on each one?