public class CreateConfigFolder
extends AbstractCreateFolder
Task for folder creation of configuration files of a server.
@Inject
public CreateConfigFolder(@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.
@InputFile @NotNull public org.gradle.api.file.RegularFileProperty getCartridgeList()
public void provideCartridgeListFile(@NotNull
org.gradle.api.provider.Provider<org.gradle.api.file.RegularFile> file)
Provides the cartridgelist.properties of this project.
file - regular file provider.@InputFile @NotNull public org.gradle.api.file.RegularFileProperty getVersionInfo()
public void provideVersionInfoFile(@NotNull
org.gradle.api.provider.Provider<org.gradle.api.file.RegularFile> file)
Provides the version information of this project. This file is used for the presentation in the backoffice login.
file - regular file provider.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 createConfigFolder()
Task method of this task. It creates the configuration folder structure for the server.