Gradle-License-Report icon indicating copy to clipboard operation
Gradle-License-Report copied to clipboard

Use LicenseBundleNormalizer for allowed licenses file

Open rsertelon opened this issue 6 years ago • 3 comments

It would be very useful if the LicenseBundleNormalizer would be applied before the check is executed.

Since it seems not to run, I have to fill in the json file with N times the same license because it's written differently in N dependencies.

Also, I've seen that it's possible to add information for the renderer to add missing license information to dependencies where nothing was detected. Can this be done for check license too? There sometimes are null licenses, and it makes the task fail.

rsertelon avatar Jul 25 '19 21:07 rsertelon

Hm, does this mean that your allowed-licenses file already contains licenses with "wrong" names and you would like the LicenseBundleNormalizer to normalize them?

guenhter avatar Aug 20 '19 05:08 guenhter

Sorry for the late reply.

Not exactly. What I meant is to have the allowed licenses file to contain only the normalized names.

The normalizer would run before matching against the file.

Am I clearer? :)

rsertelon avatar Oct 01 '19 05:10 rsertelon

Yes. This would be really helpful...

guenhter avatar Oct 01 '19 05:10 guenhter