Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD

## org.gradle.api.artifacts.maven
Interface GroovyMavenDeployer

    org.gradle.api.artifacts.maven.MavenDeployer
      org.apache.ivy.plugins.resolver.DependencyResolver
          org.gradle.api.artifacts.maven.GroovyMavenDeployer
              org.gradle.api.artifacts.maven.MavenResolver

All Superinterfaces:
  MavenDeployer, DependencyResolver, MavenResolver

    interface GroovyMavenDeployer
    extends MavenDeployer

Adds Groovy configuration convenience methods on top of the MavenDeployer. This class provides also a builder for repository and snapshot-repository:

     mavenUploader.repository(url: 'file://repoDir') {
        authentication(userName: 'myName')
        releases(updatePolicy: 'never')
        snapshots(updatePolicy: 'always')
     }

This call set the repository object and also returns an instance of this object. If you use 'snapshotRepository' instead of repository, the snapshot repository is build.

author:
  Hans Dockter

see:
  MavenDeployer

Method Summary

Methods inherited from interface MavenDeployer
addProtocolProviderJars, getRepository, getSnapshotRepository, isUniqueVersion, setRepository, setSnapshotRepository, setUniqueVersion

Methods inherited from interface MavenResolver
getSettings

Groovy Documentation