|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.api.tasks.Upload
public class Upload extends ConventionTask
Uploads the artifacts of a Configuration to a set of repositories.
Constructor Summary | |
Upload(ArtifactPublicationServices publicationServices)
|
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()
|
Constructor Detail |
---|
@Inject public Upload(ArtifactPublicationServices publicationServices)
Method Detail |
---|
@InputFiles public FileCollection getArtifacts()
public Configuration getConfiguration()
public File getDescriptorDestination()
public RepositoryHandler getRepositories()
public boolean isUploadDescriptor()
public RepositoryHandler repositories(Closure configureClosure)
public void setConfiguration(Configuration configuration)
@SuppressWarnings("UnusedDeclaration") public void setDescriptorDestination(File descriptorDestination)
public void setUploadDescriptor(boolean uploadDescriptor)
@TaskAction protected void upload()
Gradle API 1.12