Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, org.gradle.util.Configurable<Task>
@Incubating public class PublishToIvyRepository extends DefaultTask
Task.Namer
TASK_ACTION, 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.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.
|
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActionClassLoaders, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
@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()