# MavenPomMailingListSpec

API Documentation: | `MavenPomMailingListSpec`

Note: This class is incubating and may change in a future version of Gradle.

Allows to add mailing lists to a Maven publication.

### Properties

No properties

### Methods

Method | Description
`mailingList(action)` | Incubating Creates, configures and adds a mailing list to the publication.

### Script blocks

No script blocks

### Method details

#### `void` `mailingList`(``Action`<? super `MavenPomMailingList`>` action)

Note: This method is incubating and may change in a future version of Gradle.

Creates, configures and adds a mailing list to the publication.