license-gradle-plugin
license-gradle-plugin copied to clipboard
Provide list of licenses in DownloadLicensesExtension.licenses
Hi, I wanted to configure the plugin such that a manually provided artifact-to-license mapping had more than one license for the artifact.
Schematically, I tried this
project.downloadLicenses {
licenses = mapOf(
"my-artifact.jar" to listOf("Apache License, Version 2.0", "GNU LESSER GENERAL PUBLIC LICENSE, Version 3"),
)
}
However in the generated reports I only see this first license showing up (""Apache License, Version 2.0" in this case). Is there a way to make the two licenses being reported?
Thx for any help.