Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.TaskInternal, ExtensionAware, Task, Configurable<Task>@DisableCachingByDefault(because="Not worth caching") public class PublishToIvyRepository extends DefaultTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor | Description |
|---|---|
PublishToIvyRepository() |
| Modifier and Type | Method | Description |
|---|---|---|
protected org.gradle.api.publish.internal.validation.DuplicatePublicationTracker |
getDuplicatePublicationTracker() |
|
protected org.gradle.api.publish.ivy.internal.publisher.IvyPublisher |
getIvyPublisher() |
|
IvyPublication |
getPublication() |
The publication to be published.
|
IvyArtifactRepository |
getRepository() |
The repository to publish to.
|
void |
publish() |
|
void |
setPublication(IvyPublication publication) |
Sets the publication to be published.
|
void |
setRepository(IvyArtifactRepository repository) |
Sets the repository to publish to.
|
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getReasonNotToTrackState, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention@Internal public IvyPublication getPublication()
public void setPublication(IvyPublication publication)
publication - The publication to be published@Internal public IvyArtifactRepository getRepository()
public void setRepository(IvyArtifactRepository repository)
repository - The repository to publish topublic void publish()
@Inject protected org.gradle.api.publish.ivy.internal.publisher.IvyPublisher getIvyPublisher()
@Inject protected org.gradle.api.publish.internal.validation.DuplicatePublicationTracker getDuplicatePublicationTracker()