|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.gradle.api.artifacts.maven.MavenDeployerorg.gradle.api.artifacts.maven.MavenResolver
org.gradle.api.artifacts.maven.GroovyMavenDeployer
interface GroovyMavenDeployer extends MavenDeployer
Adds Groovy configuration convenience methods on top of the org.gradle.api.artifacts.maven.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.
Method Summary |
---|
Methods inherited from interface MavenDeployer | |
---|---|
addProtocolProviderJars, getRepository, getSnapshotRepository, isUniqueVersion, setRepository, setSnapshotRepository, setUniqueVersion |
Methods inherited from interface MavenResolver | |
---|---|
getSettings |
Methods inherited from interface org.apache.ivy.plugins.resolver.DependencyResolver | |
---|---|
download, download, reportFailure, reportFailure, getDependency, findIvyFileRef, beginPublishTransaction, abortPublishTransaction, commitPublishTransaction, listTokenValues, listTokenValues, listOrganisations, listModules, listRevisions, getNamespace, dumpSettings, setSettings, getRepositoryCacheManager, getName, setName, exists, locate, publish |
Methods inherited from class java.lang.Object | |
---|---|
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll |
Groovy Documentation