Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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:
  groovy.lang.GroovyObject, java.lang.Comparable<Task>, org.gradle.api.internal.DynamicObjectAware, org.gradle.api.internal.IConventionAware, org.gradle.api.internal.TaskInternal, Task

    public class Upload

extends org.gradle.api.internal.ConventionTask

An upload task uploads files to the repositories assigned to it. The files that get uploaded are the artifacts of your project, if they belong to the configuration associated with the upload task.

Field Summary

Fields inherited from interface org.gradle.api.Task
`AUTOSKIP_PROPERTY_PREFIX, TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_NAME, TASK_OVERWRITE, TASK_TYPE`

Constructor Summary
`Upload()`

Method Summary
`Configuration` | `getConfiguration()`
`java.io.File` | `getDescriptorDestination()`
`RepositoryHandler` | `getRepositories()`
`boolean` | `isUploadDescriptor()`
`RepositoryHandler` | `repositories(groovy.lang.Closure configureClosure)`
`void` | `setConfiguration(Configuration configuration)`
`void` | `setDescriptorDestination(java.io.File descriptorDestination)`
`void` | `setRepositories(RepositoryHandler repositories)`
`void` | `setUploadDescriptor(boolean uploadDescriptor)`
`protected void` | `upload()`

Methods inherited from class org.gradle.api.internal.ConventionTask
`conventionMapping, getConventionMapping, setConventionMapping`

Methods inherited from class org.gradle.api.DefaultTask
`configure, doFirst, doLast, leftShift`

Methods inherited from class org.gradle.api.internal.AbstractTask
`captureStandardOutput, compareTo, defineProperty, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuted, getLogger, getName, getOutput, getPath, getProject, getStandardOutputCapture, getTaskDependencies, hashCode, hasProperty, injectIntoNextInstance, isDidWork, isEnabled, isExecuted, onlyIf, onlyIf, property, setActions, setAdditionalProperties, setConvention, setDependsOn, setDescription, setDidWork, setEnabled, setExecuted, setName, setOutputHandler, setProject, setProperty, setStandardOutputCapture, toString`

Methods inherited from class java.lang.Object
`clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

Methods inherited from interface groovy.lang.GroovyObject
`getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty`

Constructor Detail

### Upload

    public Upload()

Method Detail

### upload

    protected void upload()

### isUploadDescriptor

    public boolean isUploadDescriptor()

### setUploadDescriptor

    public void setUploadDescriptor(boolean uploadDescriptor)

### getDescriptorDestination

    public java.io.File getDescriptorDestination()

### setDescriptorDestination

    public void setDescriptorDestination(java.io.File descriptorDestination)

### getRepositories

    public RepositoryHandler getRepositories()

### setRepositories

    public void setRepositories(RepositoryHandler repositories)

### getConfiguration

    public Configuration getConfiguration()

### setConfiguration

    public void setConfiguration(Configuration configuration)

### repositories

    public RepositoryHandler repositories(groovy.lang.Closure configureClosure)

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD