List all gradle dependencies with their licences
For anybody who ends up here and discovered the license-gradle-plugin appears to be unmaintained, Gradle-License-Report works for this need as well.
I would recommend the license-gradle-plugin. It can report on licenses from your dependencies via the downloadLicense task.