public class ImageGrinderTask extends DefaultTask
| Modifier and Type | Class and Description |
|---|---|
static class |
ImageGrinderTask.ProcessFile |
Task.NamerTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
ImageGrinderTask(org.gradle.workers.WorkerExecutor workerExecutor) |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
getBumpThisNumberWhenTheGrinderChanges() |
File |
getDstDir() |
File |
getSrcDir() |
void |
grinder(Action<Img<?>> grinder) |
void |
performAction(IncrementalTaskInputs inputs) |
void |
setBumpThisNumberWhenTheGrinderChanges(Serializable bumpThisNumberWhenTheGrinderChanges) |
void |
setDstDir(File dstDir) |
void |
setSrcDir(File srcDir) |
addValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, newInputFile, newOutputDirectory, newOutputFile, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Inject public ImageGrinderTask(org.gradle.workers.WorkerExecutor workerExecutor)
public void performAction(IncrementalTaskInputs inputs) throws Exception
Exceptionpublic File getSrcDir()
public void setSrcDir(File srcDir)
public File getDstDir()
public void setDstDir(File dstDir)
public Serializable getBumpThisNumberWhenTheGrinderChanges()
public void setBumpThisNumberWhenTheGrinderChanges(Serializable bumpThisNumberWhenTheGrinderChanges)