Package org.gradle.api.tasks
Class Upload
java.lang.Object
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.gradle.api.internal.ConventionTask
org.gradle.api.tasks.Upload
- All Implemented Interfaces:
- Comparable<Task>,- org.gradle.api.internal.DynamicObjectAware,- org.gradle.api.internal.IConventionAware,- org.gradle.api.internal.TaskInternal,- Named,- ExtensionAware,- Task,- Configurable<Task>
@Deprecated
@DisableCachingByDefault(because="Produces no cacheable output")
public abstract class Upload
extends org.gradle.api.internal.ConventionTask
Deprecated.
This task is no longer supported and will throw an exception if you try to use it.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.TaskTask.Namer
- 
Field SummaryFields inherited from interface org.gradle.api.TaskTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.protected abstract org.gradle.api.internal.DocumentationRegistryDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.booleanDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.repositories(Closure configureClosure) Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.repositories(Action<? super RepositoryHandler> configureAction) Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.voidsetConfiguration(Configuration configuration) Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.voidsetDescriptorDestination(File descriptorDestination) Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.voidsetUploadDescriptor(boolean uploadDescriptor) Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.protected voidupload()Deprecated.Methods inherited from class org.gradle.api.internal.ConventionTaskconventionMapping, conventionMapping, getConventionMappingMethods inherited from class org.gradle.api.DefaultTaskcompareTo, 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, usesServiceMethods inherited from class org.gradle.api.internal.AbstractTaskacceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.TaskdoNotTrackState, getConvention, notCompatibleWithConfigurationCache
- 
Constructor Details- 
Uploadpublic Upload()Deprecated.
 
- 
- 
Method Details- 
getDocumentationRegistry@Deprecated @Inject protected abstract org.gradle.api.internal.DocumentationRegistry getDocumentationRegistry()Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it is for internal use only.
- 
uploadprotected void upload()Deprecated.
- 
isUploadDescriptorDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it will always returnfalse.
- 
setUploadDescriptorDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it does nothing.
- 
getDescriptorDestinationDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it will always returnnull.
- 
setDescriptorDestinationDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it does nothing.
- 
getRepositoriesDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it will always returnnull.
- 
getConfigurationDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it will always returnnull.
- 
setConfigurationDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it does nothing.
- 
repositories@Nullable @Deprecated public RepositoryHandler repositories(@Nullable @DelegatesTo(RepositoryHandler.class) Closure configureClosure) Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it will always returnnull.
- 
repositories@Nullable @Deprecated public RepositoryHandler repositories(Action<? super RepositoryHandler> configureAction) Deprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it will always returnnull.
- 
getArtifactsDeprecated.This class is scheduled for removal in Gradle 9.0, this method should not be used.Do not use this method, it must return a non-nullvalue as an input property to all the task to run, but this value should not be relied upon for anything.
 
- 
maven-publishorivy-publishplugins instead.