public class PluginConfig
This class provides methods and configurations tasks for the project plugin.
public PluginConfig(@NotNull
org.gradle.api.Project project,
@NotNull
org.gradle.api.file.ProjectLayout projectLayout)
This class provides methods and configurations tasks for the project plugin.
project - project of project pluginprojectLayout - project layout service@NotNull
public org.gradle.api.tasks.Sync get3rdPartyCopyTask(@NotNull
TaskConfCopyLib taskconf)
Configures the 3rd party copy task from an enumeration.
taskconf - enumeration with all necessary parameters@NotNull public SetupCartridges getSetupCartridgesTask(@NotNull EnvironmentType type, @NotNull java.util.List<? extends com.intershop.gradle.icm.utils.EnvironmentType> environmentTypesList)
Configures the task for the setup of external cartridges.
type - environment typeenvironmentTypesList - List of environment types@NotNull public CreateSitesFolder getSitesTask(@NotNull EnvironmentType type)
Configures the task for the sites folder creation.
type - environment type@NotNull public CreateConfigFolder getConfigTask(@NotNull CreateServerInfo versionInfoTask, @NotNull EnvironmentType type, @NotNull java.util.List<? extends com.intershop.gradle.icm.utils.EnvironmentType> environmentTypesList)
Configures the task for the configuration folder creation.
versionInfoTask - task that creates the server infotype - environment typeenvironmentTypesList - list of environment types for the configurationpublic void configureInitTask(@NotNull
CreateSitesFolder sitesFolderTask,
@NotNull
java.lang.String taskname)
Configures an existing package task - initalization package.
sitesFolderTask - creates the sites foldertaskname - specify the task name of the package folderpublic void configurePackageTask(@NotNull
CreateConfigFolder configTask,
@NotNull
SetupCartridges cartridgesTask,
@NotNull
org.gradle.api.tasks.Sync copyLibs,
@NotNull
java.lang.String taskname)
Configures an existing package task package.
configTask - creates the configuration foldercartridgesTask - creates the folder with external cartridgescopyLibs - copy 3rd party libstaskname - specify the task name of the package folder@NotNull
public org.gradle.api.Task configurePrepareTask(@NotNull
EnvironmentType type)
Configures the main task for the preparation.
type - environment type@NotNull
public org.gradle.api.Task getTask(@NotNull
java.lang.String taskname)
Get task from task container by name.
taskname - name of the task@NotNull public ProvideLibFilter getLibFilterFile()
Get lib filter file task.
@NotNull public org.gradle.api.Project getProject()
project of project plugin
@NotNull public org.gradle.api.file.ProjectLayout getProjectLayout()
project layout service