|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.AbstractTask org.gradle.api.DefaultTask org.gradle.api.internal.ConventionTask org.gradle.api.tasks.Upload
public class Upload
Uploads the artifacts of a Configuration
to a set of repositories.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.gradle.api.Task |
---|
Task.Namer |
Field Summary |
---|
Fields inherited from interface org.gradle.api.Task |
---|
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE |
Constructor Summary | |
---|---|
Upload()
|
Method Summary | |
---|---|
FileCollection |
getArtifacts()
Returns the artifacts which will be uploaded. |
Configuration |
getConfiguration()
Returns the configuration to upload. |
File |
getDescriptorDestination()
Returns the path to generate the dependency descriptor to. |
RepositoryHandler |
getRepositories()
Returns the repositories to upload to. |
boolean |
isUploadDescriptor()
Specifies whether the dependency descriptor should be uploaded. |
RepositoryHandler |
repositories(Closure configureClosure)
Configures the set of repositories to upload to. |
void |
setConfiguration(Configuration configuration)
|
void |
setDescriptorDestination(File descriptorDestination)
|
void |
setUploadDescriptor(boolean uploadDescriptor)
|
protected void |
upload()
|
Methods inherited from class org.gradle.api.internal.ConventionTask |
---|
conventionMapping, conventionMapping, getConventionMapping |
Methods inherited from class org.gradle.api.internal.AbstractTask |
---|
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuter, getExtensions, getGroup, getInputs, getLogger, getLogging, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setGroup, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Upload()
Method Detail |
---|
protected void upload()
public boolean isUploadDescriptor()
public void setUploadDescriptor(boolean uploadDescriptor)
public File getDescriptorDestination()
public void setDescriptorDestination(File descriptorDestination)
public RepositoryHandler getRepositories()
public Configuration getConfiguration()
public void setConfiguration(Configuration configuration)
public RepositoryHandler repositories(Closure configureClosure)
public FileCollection getArtifacts()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |