Package org.gradle.api.publish.ivy.tasks
Klasse PublishToIvyRepository
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.publish.ivy.tasks.PublishToIvyRepository
- Alle implementierten Schnittstellen:
Comparable<Task>,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.TaskInternal,Named,ExtensionAware,Task,Configurable<Task>
@DisableCachingByDefault(because="Not worth caching")
public abstract class PublishToIvyRepository
extends DefaultTask
Publishes an IvyPublication to an IvyArtifactRepository.
- Seit:
- 1.3
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.gradle.api.Task
Task.Namer -
Feldübersicht
Von Schnittstelle geerbte Felder org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected org.gradle.api.publish.ivy.internal.publisher.IvyDuplicatePublicationTrackerprotected org.gradle.api.publish.ivy.internal.publisher.IvyPublisherThe publication to be published.The repository to publish to.voidpublish()voidsetPublication(IvyPublication publication) Sets the publication to be published.voidsetRepository(IvyArtifactRepository repository) Sets the repository to publish to.Von Klasse geerbte Methoden org.gradle.api.DefaultTask
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, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceVon Klasse geerbte Methoden org.gradle.api.internal.AbstractTask
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.gradle.api.Task
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
-
Konstruktordetails
-
PublishToIvyRepository
public PublishToIvyRepository()
-
-
Methodendetails
-
getPublication
The publication to be published.- Gibt zurück:
- The publication to be published
-
setPublication
Sets the publication to be published.- Parameter:
publication- The publication to be published
-
getRepository
The repository to publish to.- Gibt zurück:
- The repository to publish to
-
setRepository
Sets the repository to publish to.- Parameter:
repository- The repository to publish to
-
publish
public void publish() -
getIvyPublisher
@Inject protected org.gradle.api.publish.ivy.internal.publisher.IvyPublisher getIvyPublisher() -
getDuplicatePublicationTracker
@Inject protected org.gradle.api.publish.ivy.internal.publisher.IvyDuplicatePublicationTracker getDuplicatePublicationTracker()
-