Class Upload

  • All Implemented Interfaces:
    java.lang.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 Detail

      • Upload

        public Upload()
        Deprecated.
    • Method Detail

      • 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 java.io.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
                                             java.io.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

        @Internal
        @Nullable
        @Deprecated
        public RepositoryHandler 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

        @Nullable
        @Deprecated
        public RepositoryHandler repositories​(@Nullable @DelegatesTo(RepositoryHandler.class)
                                              Closure configureClosure)
        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

        @PathSensitive(NAME_ONLY)
        @InputFiles
        @Deprecated
        public FileCollection 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.