public class Sync extends AbstractCopyTask
Task.Namer
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
Constructor and Description |
---|
Sync() |
Modifier and Type | Method and Description |
---|---|
protected org.gradle.api.internal.file.copy.CopyAction |
createCopyAction() |
protected org.gradle.api.internal.file.copy.CopySpecInternal |
createRootSpec() |
File |
getDestinationDir()
Returns the directory to copy files into.
|
org.gradle.api.internal.file.copy.DestinationRootCopySpec |
getRootSpec() |
void |
setDestinationDir(File destinationDir)
Sets the directory to copy files into.
|
copy, eachFile, eachFile, exclude, exclude, exclude, exclude, expand, filesMatching, filesNotMatching, filter, filter, filter, from, from, getDirMode, getDuplicatesStrategy, getExcludes, getFileLookup, getFileMode, getFileResolver, getFileSystem, getIncludeEmptyDirs, getIncludes, getInstantiator, getMainSpec, getSource, include, include, include, include, into, into, isCaseSensitive, rename, rename, rename, setCaseSensitive, setDirMode, setDuplicatesStrategy, setExcludes, setFileMode, setIncludeEmptyDirs, setIncludes, with
conventionMapping, conventionMapping, getConventionMapping
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
protected org.gradle.api.internal.file.copy.CopyAction createCopyAction()
createCopyAction
in class AbstractCopyTask
protected org.gradle.api.internal.file.copy.CopySpecInternal createRootSpec()
createRootSpec
in class AbstractCopyTask
public org.gradle.api.internal.file.copy.DestinationRootCopySpec getRootSpec()
getRootSpec
in interface org.gradle.api.internal.file.copy.CopySpecSource
getRootSpec
in class AbstractCopyTask
@OutputDirectory public File getDestinationDir()
public void setDestinationDir(File destinationDir)
AbstractCopyTask.into(Object)
on this task.destinationDir
- The destination directory. Must not be null.