Q:

List all gradle dependencies with their licences

I want to list all maven dependencies (including transitive ones) of my gradle build with their licenses.  Is this possible with the IntelliJ gradle plugin?  If yes, how?  Alternatively a gradle command line  instruction would be sufficient, too. 

A:

I would recommend the license-gradle-plugin.  It can report on licenses from your dependencies via the downloadLicense task.