License

fun License(name: String, url: String?, year: String? = null, spdxId: String? = null, licenseContent: String? = null, hash: String)

Parameters

name

of the given license

url

linking to the hosted form of this license

year

if available for this license (not contained in the pom.xml)

spdxId

for this library, if it is a standard library available

licenseContent

contains the whole license content as downloaded from the server

hash

usually calculated to identify if a license is re-used and can be used for multiple artifacts