Table of Contents
| API Documentation: | MavenPomLicenseSpec |
|---|
Note: This class is incubating and may change in a future version of Gradle.
Allows to add licenses to a Maven publication.
| Method | Description |
license(action) | Incubating Creates, configures and adds a license to the publication. |
void license(Action<? super MavenPomLicense> action)
Action<? super MavenPomLicense>Note: This method is incubating and may change in a future version of Gradle.
Creates, configures and adds a license to the publication.