Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.tasks
[Java] Class Sync

    java.lang.Object
      org.gradle.api.internal.ConventionTask
          org.gradle.api.tasks.AbstractCopyTask
              org.gradle.api.tasks.Sync

    public class Sync
    extends AbstractCopyTask

Synchronises the contents of a destination directory with some source.

Constructor Summary
`Sync()`

Method Summary
`protected FileCopyActionImpl` | `getCopyAction()`
`java.io.File` | `getDestinationDir()`

Methods inherited from class AbstractCopyTask
configureRootSpec, copy, eachFile, eachFile, exclude, exclude, exclude, exclude, expand, filter, filter, filter, from, from, getCopyAction, getDefaultSource, getDirMode, getExcludes, getFileMode, getIncludes, getMainSpec, getRootSpec, getSource, include, include, include, include, into, into, isCaseSensitive, rename, rename, rename, setCaseSensitive, setDirMode, setExcludes, setFileMode, setIncludes, with

Constructor Detail

### Sync

    public Sync()

Method Detail

### getCopyAction

    @Override
    protected FileCopyActionImpl getCopyAction()

### getDestinationDir

    @OutputDirectory
    public java.io.File getDestinationDir()

Groovy Documentation