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 class is scheduled for removal in a future version. To upload artifacts, use the `maven-publish` or `ivy-publish` plugins instead.
This task is no longer supported and will throw an exception if you try to use it. It is preserved solely for backwards compatibility and may be removed in a future version.
  • Constructor Details

    • Upload

      public Upload()
      Deprecated.
  • Method Details

    • getDocumentationRegistry

      @Deprecated @Inject protected abstract org.gradle.api.internal.DocumentationRegistry getDocumentationRegistry()
      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it is for internal use only.
    • upload

      protected void upload()
      Deprecated.
    • isUploadDescriptor

      @Input @Deprecated public boolean isUploadDescriptor()
      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it will always return false.
    • setUploadDescriptor

      @Deprecated public void setUploadDescriptor(boolean uploadDescriptor)
      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it does nothing.
    • getDescriptorDestination

      @Internal @Nullable @Deprecated public File getDescriptorDestination()
      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it will always return null.
    • setDescriptorDestination

      @Deprecated public void setDescriptorDestination(@Nullable File descriptorDestination)
      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it does nothing.
    • getRepositories

      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it will always return null.
    • getConfiguration

      @Internal @Nullable @Deprecated public Configuration getConfiguration()
      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it will always return null.
    • setConfiguration

      @Deprecated public void setConfiguration(@Nullable Configuration configuration)
      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it does nothing.
    • repositories

      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it will always return null.
    • repositories

      @Nullable @Deprecated public RepositoryHandler repositories(Action<? super RepositoryHandler> configureAction)
      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it will always return null.
    • getArtifacts

      Deprecated.
      This class is scheduled for removal in a future version, this method should not be used.
      Do not use this method, it must return a non-null value as an input property to all the task to run, but this value should not be relied upon for anything.