Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, org.gradle.util.Configurable<Task>
PublishToMavenLocal
, PublishToMavenRepository
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.internal.Factory<org.gradle.internal.logging.LoggingManagerInternal> |
getLoggingManagerFactory() |
Deprecated.
|
protected org.gradle.api.internal.artifacts.mvnsettings.LocalMavenRepositoryLocator |
getMavenRepositoryLocator() |
|
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.
|
newInputDirectory, newInputFile, newOutputDirectory, newOutputFile
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString
@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()
@Deprecated @Inject protected org.gradle.internal.Factory<org.gradle.internal.logging.LoggingManagerInternal> getLoggingManagerFactory()
@Inject protected org.gradle.api.internal.artifacts.mvnsettings.LocalMavenRepositoryLocator getMavenRepositoryLocator()