Interface MavenPomLicenseSpec


  • public interface MavenPomLicenseSpec
    Allows to add licenses to a Maven publication.
    Since:
    4.8
    See Also:
    MavenPom, MavenPomLicense
    • Method Detail

      • license

        void license​(Action<? super MavenPomLicense> action)
        Creates, configures and adds a license to the publication.