Comparable<Task>
, org.gradle.api.internal.DynamicObjectAware
, org.gradle.api.internal.TaskInternal
, ExtensionAware
, Task
, org.gradle.util.Configurable<Task>
public class GenerateIvyDescriptor extends DefaultTask
Task.Namer
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor | Description |
---|---|
GenerateIvyDescriptor() |
Modifier and Type | Method | Description |
---|---|---|
void |
doGenerate() |
|
IvyModuleDescriptorSpec |
getDescriptor() |
The module descriptor metadata.
|
File |
getDestination() |
The file the descriptor will be written to.
|
protected org.gradle.internal.file.PathToFileResolver |
getFileResolver() |
|
void |
setDescriptor(IvyModuleDescriptorSpec descriptor) |
|
void |
setDestination(File destination) |
Sets the destination the descriptor will be written to.
|
void |
setDestination(Object destination) |
Sets the destination the descriptor will be written to.
|
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getRequiredServices, getServices, getSharedResources, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString, usesService
@Inject protected org.gradle.internal.file.PathToFileResolver getFileResolver()
@Internal public IvyModuleDescriptorSpec getDescriptor()
public void setDescriptor(IvyModuleDescriptorSpec descriptor)
@OutputFile public File getDestination()
public void setDestination(File destination)
destination
- The file the descriptor will be written to.public void setDestination(Object destination)
Project.file(Object)
destination
- The file the descriptor will be written to.public void doGenerate()