Closed sghill closed 4 years ago
I think when Gradle Module Metadata is used, the plugin should still take the license from the POM file. Gradle Metadata does not contain that information at the moment as it is seen as an addition to the POM - i.e. in a default setup, there is always the POM + the module file.
If I remember correctly, the pom file is explicitly fetched for reading the license already.
In order to produce license info As a gradle-jpi-plugin user I want one or more of the following:
If a dependency is resolved with Gradle Module Metadata instead of a POM, the description tag has an empty body and the license tag is missing:
Contrast this with the info generated from a POM:
This behavior makes sense because there is no license information present in Gradle Module Metadata as of 1.1. However, it is surprising to see the task succeed with this information missing.
Created this issue while investigating #153.