I have a Gradle multi-project build with a master-directory where common definitions are located and some projects that are defined in settings.gradle via include statements.
Building, testing, runnings all works fine, but showing dependencies via task dependencies does not work, it only prints:
$ g dependencies
master
:dependencies
------------------------------------------------------------
Root project
------------------------------------------------------------
No configurations
BUILD SUCCESSFUL
Doing gradle :project1:dependencies in the master-directory works as expected.
How can I get Gradle to print out the whole dependency tree including all the third party libraries for all the projects that are included?