MavenPomMailingListSpec (Gradle API 9.4.0)
Description: declaration: package: org.gradle.api.publish.maven, interface: MavenPomMailingListSpec

Package org.gradle.api.publish.maven

# Interface MavenPomMailingListSpec

public interface MavenPomMailingListSpec
Allows to add mailing lists to a Maven publication.

Since:
  4.8
See Also:
  - `MavenPom`
  - `MavenPomMailingList`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `mailingList(Action<? super MavenPomMailingList> action)`
  Creates, configures and adds a mailing list to the publication.

- ## Method Details

  - ### mailingList

    void mailingList(Action<? super MavenPomMailingList> action)
    Creates, configures and adds a mailing list to the publication.