public class DownloadAssetsTask extends DefaultTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
DownloadAssetsTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
doTask() |
java.io.File |
getAssetsDir() |
AssetIndex |
getIndex() |
java.lang.String |
getIndexName() |
void |
setAssetsDir(DelayedFile assetsDir) |
void |
setIndex(groovy.lang.Closure<AssetIndex> index)
Deprecated.
use
setIndex(Supplier) variant |
void |
setIndex(java.util.function.Supplier<AssetIndex> index) |
void |
setIndexName(DelayedString indexName) |
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesServiceappendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjectsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoNotTrackState, getConvention, notCompatibleWithConfigurationCachepublic void doTask()
throws javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException,
java.lang.InterruptedException
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionjava.io.IOExceptionjava.lang.InterruptedException@OutputDirectory public java.io.File getAssetsDir()
public void setAssetsDir(DelayedFile assetsDir)
@Input public AssetIndex getIndex()
@Deprecated
public void setIndex(@Deprecated
groovy.lang.Closure<AssetIndex> index)
setIndex(Supplier) variantpublic void setIndex(java.util.function.Supplier<AssetIndex> index)
public java.lang.String getIndexName()
public void setIndexName(DelayedString indexName)