Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, Configurable<Task>
PublishToMavenLocal
, PublishToMavenRepository
@DisableCachingByDefault(because="Abstract super-class, not to be instantiated directly") public abstract class AbstractPublishToMaven extends DefaultTask
MavenPublication
.Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
AbstractPublishToMaven() |
Modifier and Type | Method | Description |
---|---|---|
protected org.gradle.api.publish.maven.internal.publisher.MavenDuplicatePublicationTracker |
getDuplicatePublicationTracker() |
|
protected org.gradle.api.publish.maven.internal.publisher.MavenPublishers |
getMavenPublishers() |
|
MavenPublication |
getPublication() |
The publication to be published.
|
protected org.gradle.api.publish.maven.internal.publication.MavenPublicationInternal |
getPublicationInternal() |
|
void |
setPublication(MavenPublication publication) |
Sets the publication to be published.
|
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, usesService
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
@Internal public MavenPublication getPublication()
public void setPublication(MavenPublication publication)
publication
- The publication to be published@Internal protected org.gradle.api.publish.maven.internal.publication.MavenPublicationInternal getPublicationInternal()
@Inject protected org.gradle.api.publish.maven.internal.publisher.MavenPublishers getMavenPublishers()
@Inject protected org.gradle.api.publish.maven.internal.publisher.MavenDuplicatePublicationTracker getDuplicatePublicationTracker()