Interface IncrementalSyncTask
-
- All Implemented Interfaces:
-
kotlin.Comparable
,org.gradle.api.Task
,org.gradle.api.plugins.ExtensionAware
public interface IncrementalSyncTask implements Task
A task to incrementally synchronize a set of files between directories.
Incremental synchronization support greatly reduces task execution time on subsequent builds when the set of files to be synchronized is large, but only a small amount have changed.
-
-
Method Summary
Modifier and Type Method Description abstract ConfigurableFileCollection
getFrom()
The collection of paths with files to copy. abstract Property<File>
getDestinationDirectory()
The directory where the set of files are copied to. -
Methods inherited from class kotlin.Comparable
compareTo
-
Methods inherited from class org.gradle.api.plugins.ExtensionAware
getExtensions
-
Methods inherited from class org.gradle.api.Task
configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, doNotTrackState, finalizedBy, getActions, getAnt, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, notCompatibleWithConfigurationCache, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
getFrom
@InputFiles()@NormalizeLineEndings()@IgnoreEmptyDirectories()@PathSensitive(value = PathSensitivity.ABSOLUTE)@SkipWhenEmpty() abstract ConfigurableFileCollection getFrom()
The collection of paths with files to copy.
Should be configured using available methods in the ConfigurableFileCollection such as ConfigurableFileCollection.from or ConfigurableFileCollection.setFrom.
-
getDestinationDirectory
@OutputDirectory() abstract Property<File> getDestinationDirectory()
The directory where the set of files are copied to.
-
-