public interface MavenRepositoryHandlerConvention
RepositoryHandler associated with each
task of type Upload.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_MAVEN_DEPLOYER_NAME |
static String |
DEFAULT_MAVEN_INSTALLER_NAME |
| Modifier and Type | Method and Description |
|---|---|
GroovyMavenDeployer |
mavenDeployer() |
GroovyMavenDeployer |
mavenDeployer(Closure configureClosure) |
GroovyMavenDeployer |
mavenDeployer(Map<String,?> args)
Adds a repository for publishing to a Maven repository.
|
GroovyMavenDeployer |
mavenDeployer(Map<String,?> args,
Closure configureClosure)
Behaves the same way as
mavenDeployer(java.util.Map). |
MavenResolver |
mavenInstaller() |
MavenResolver |
mavenInstaller(Closure configureClosure) |
MavenResolver |
mavenInstaller(Map<String,?> args)
Adds a repository for installing to a local Maven cache.
|
MavenResolver |
mavenInstaller(Map<String,?> args,
Closure configureClosure)
Behaves the same way as
mavenInstaller(java.util.Map). |
static final String DEFAULT_MAVEN_DEPLOYER_NAME
static final String DEFAULT_MAVEN_INSTALLER_NAME
GroovyMavenDeployer mavenDeployer()
GroovyMavenDeployer mavenDeployer(Closure configureClosure)
GroovyMavenDeployer mavenDeployer(Map<String,?> args)
| 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. |
args - The argument to create the repositorymavenDeployer(java.util.Map, groovy.lang.Closure)GroovyMavenDeployer mavenDeployer(Map<String,?> args, Closure configureClosure)
mavenDeployer(java.util.Map). Additionally a closure can be passed to
further configure the added repository.args - The argument to create the repositoryconfigureClosure - MavenResolver mavenInstaller()
MavenResolver mavenInstaller(Closure configureClosure)
MavenResolver mavenInstaller(Map<String,?> args)
| 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. |
args - The argument to create the repository(java.util.Map, groovy.lang.Closure)MavenResolver mavenInstaller(Map<String,?> args, Closure configureClosure)
mavenInstaller(java.util.Map). Additionally a closure can be passed to further configure the added repository.args - The argument to create the repository