List all gradle dependencies with their licences

Matthias Kricke picture Matthias Kricke · Jun 18, 2014 · Viewed 8.7k times · Source

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.

Answer

Justin Ryan picture Justin Ryan · Jun 19, 2014

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