public class CreateSitesFolder
extends AbstractCreateFolder
Task for folder creation of sites files of a server.
@Inject
public CreateSitesFolder(@NotNull
org.gradle.api.file.ProjectLayout projectLayout,
@NotNull
org.gradle.api.model.ObjectFactory objectFactory,
@NotNull
org.gradle.api.file.FileSystemOperations fsOps)
Creates a task for folder handling.
public void addPackages(@NotNull
org.gradle.api.file.CopySpec cs)
Adds packages to a copy spec, so that the files be stored in the output dir.
cs - copy spec will be executed by this task.public void createSites()
Task method of this task. It creates the sites structure for the server.