api / org.gradle.api.publish.maven / MavenPomLicense

MavenPomLicense

@Incubating interface MavenPomLicense

A license of a Maven publication.

Since
4.8

See Also
MavenPomMavenPomLicenseSpec

Functions

getComments

abstract fun getComments(): Property<String>

The comments of this license.

getDistribution

abstract fun getDistribution(): Property<String>

The distribution of this license.

getName

abstract fun getName(): Property<String>

The name of this license.

getUrl

abstract fun getUrl(): Property<String>

The URL of this license.