@UntrackedTask(because="This task uploads to Maven Central. There is nothing to cache.")
public abstract class PublishToCentralTask
extends org.gradle.api.DefaultTask
| Constructor and Description |
|---|
PublishToCentralTask() |
| Modifier and Type | Method and Description |
|---|---|
org.gradle.api.provider.Property<org.gradle.api.credentials.PasswordCredentials> |
getCredentials() |
org.gradle.api.publish.maven.MavenPublication |
getPublication() |
org.gradle.api.provider.Property<java.lang.String> |
getPublishingType() |
void |
publish() |
void |
setPublication(org.gradle.api.publish.maven.MavenPublication publication) |
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, usesServiceacceptServiceReferences, 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@Internal public org.gradle.api.publish.maven.MavenPublication getPublication()
public org.gradle.api.provider.Property<java.lang.String> getPublishingType()
public org.gradle.api.provider.Property<org.gradle.api.credentials.PasswordCredentials> getCredentials()
public void publish()
public void setPublication(org.gradle.api.publish.maven.MavenPublication publication)