license-gradle-plugin icon indicating copy to clipboard operation
license-gradle-plugin copied to clipboard

Provide list of licenses in DownloadLicensesExtension.licenses

Open bpicode opened this issue 2 years ago • 0 comments

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.

bpicode avatar Nov 27 '23 09:11 bpicode