toggle menu
gradle
8.10.2
API
switch theme
search in API
gradle
/
org.gradle.api.publish.maven
/
MavenPomLicenseSpec
Maven
Pom
License
Spec
API
interface
MavenPomLicenseSpec
(
source
)
Allows to add licenses to a Maven publication.
Since
4.8
See also
Maven
Pom
Maven
Pom
License
Members
Functions
license
Link copied to clipboard
API
abstract
fun
license
(
action
:
Action
<
in
MavenPomLicense
>
)
Creates, configures and adds a license to the publication.