api / org.gradle.api.tasks / Sync / setDestinationDir

setDestinationDir

open fun setDestinationDir(destinationDir: File): Unit

Sets the directory to copy files into. This is the same as calling #into(Object) on this task.

Parameters

destinationDir - The destination directory. Must not be null.