public class IvyFileConvertTask
extends org.gradle.api.DefaultTask
| Constructor and Description |
|---|
IvyFileConvertTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
convertIvyFile()
Import configurations and/or dependencies from the Ivy file specified in the
ivyFile
property and write them on Gradle notation to the file specified in the destination
property. |
java.io.File |
getDestination()
Get the specification for the destination file to create.
|
java.io.File |
getIvyFile()
Get the specification for the Ivy file to import from.
|
boolean |
isConvertConfigurations()
Should the configurations from the Ivy file be imported and converted? Default is true.
|
boolean |
isConvertDependencies()
Should the dependencies from the Ivy file be imported and converted? Default is true.
|
boolean |
isOverwrite()
Should the destination file be overwritten if it exists? If this property is false and the
destination file exists, the task will do nothing.
|
void |
setConvertConfigurations(boolean pConvertConfigurations) |
void |
setConvertDependencies(boolean pConvertDependencies) |
void |
setDestination(java.lang.Object pPath)
Set the path of the destination file to create.
|
void |
setIvyFile(java.lang.Object pPath)
Set the path of the Ivy file to import from.
|
void |
setOverwrite(boolean pOverwrite) |
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@Input public boolean isConvertConfigurations()
public void setConvertConfigurations(boolean pConvertConfigurations)
@Input public boolean isConvertDependencies()
public void setConvertDependencies(boolean pConvertDependencies)
@Input public boolean isOverwrite()
public void setOverwrite(boolean pOverwrite)
@InputFile public java.io.File getIvyFile()
public void setIvyFile(java.lang.Object pPath)
pPath - The Ivy file path. Passing null will cause the default value to be returned from
getIvyFile.@OutputFile public java.io.File getDestination()
public void setDestination(java.lang.Object pPath)
pPath - The destination file path. Passing null will cause the default value to be
returned from getDestination.public void convertIvyFile()
ivyFile
property and write them on Gradle notation to the file specified in the destination
property.