MavenRepositoryHandlerConvention - Gradle DSL Version 4.4

# MavenRepositoryHandlerConvention

API Documentation: | `MavenRepositoryHandlerConvention`

Allows Maven repositories for publishing artifacts to be defined. The Maven plugin mixes-in this interface to the `RepositoryHandler` associated with each task of type `Upload`.

### Properties

No properties

### Methods

Method | Description
`mavenDeployer()` | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
`mavenDeployer(configureClosure)` | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
`mavenDeployer(args)` | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies. The following parameter are accepted as keys for the map:
`mavenDeployer(args, configureClosure)` | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
`mavenDeployer(args, configureAction)` | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
`mavenDeployer(configureAction)` | Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.
`mavenInstaller()` | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
`mavenInstaller(configureClosure)` | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
`mavenInstaller(args)` | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies. The following parameter are accepted as keys for the map:
`mavenInstaller(args, configureClosure)` | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
`mavenInstaller(args, configureAction)` | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.
`mavenInstaller(configureAction)` | Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.

### Script blocks

No script blocks

### Method details

#### `GroovyMavenDeployer` `mavenDeployer`()

Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.

#### `GroovyMavenDeployer` `mavenDeployer`(`Closure` configureClosure)

Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.

#### `GroovyMavenDeployer` `mavenDeployer`(``Map`<`String`, ?>` args)

Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies. The following parameter are accepted as keys for the map:

Key | Description of Associated Value
`name` | (optional) The name of the repository. The default is mavenDeployer-{SOME_ID}. The name is used in the console output, to point to information related to a particular repository. A name must be unique amongst a repository group.

#### `GroovyMavenDeployer` `mavenDeployer`(``Map`<`String`, ?>` args, `Closure` configureClosure)

Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.

#### `GroovyMavenDeployer` `mavenDeployer`(``Map`<`String`, ?>` args, ``Action`<? super `GroovyMavenDeployer`>` configureAction)

Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.

#### `GroovyMavenDeployer` `mavenDeployer`(``Action`<? super `GroovyMavenDeployer`>` configureAction)

Adds a repository for publishing to a Maven repository. This repository can not be used for resolving dependencies.

#### `MavenResolver` `mavenInstaller`()

Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.

#### `MavenResolver` `mavenInstaller`(`Closure` configureClosure)

Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.

#### `MavenResolver` `mavenInstaller`(``Map`<`String`, ?>` args)

Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies. The following parameter are accepted as keys for the map:

Key | Description of Associated Value
`name` | (optional) The name of the repository. The default is mavenInstaller-{SOME_ID}. The name is used in the console output, to point to information related to a particular repository. A name must be unique amongst a repository group.

#### `MavenResolver` `mavenInstaller`(``Map`<`String`, ?>` args, `Closure` configureClosure)

Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.

#### `MavenResolver` `mavenInstaller`(``Map`<`String`, ?>` args, ``Action`<? super `MavenResolver`>` configureAction)

Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.

#### `MavenResolver` `mavenInstaller`(``Action`<? super `MavenResolver`>` configureAction)

Adds a repository for installing to a local Maven cache. This repository can not be used for resolving dependencies.