public class SetupCartridges
Task for setup of an external cartridge in an ICM project.
@Inject
public SetupCartridges(@NotNull
org.gradle.api.file.ProjectLayout projectLayout,
@NotNull
org.gradle.api.model.ObjectFactory objectFactory,
@NotNull
org.gradle.api.file.FileSystemOperations fsOps)
Task for setup of an external cartridge in an ICM project.
@Internal @NotNull public org.gradle.api.file.DirectoryProperty getOutputDirProperty()
@Input @NotNull public org.gradle.api.provider.SetProperty<java.lang.String> getCartridges()
public void provideCartridges(@NotNull
org.gradle.api.provider.Provider<java.util.Set> list)
Provides a list of cartridges - module dependencies and project names - to the task. Dependent on the cartridge style and the configured environments the tasks will be downloaded to the project.
list - provider of a set of strings.@Input @NotNull public org.gradle.api.provider.SetProperty<java.lang.String> getDbprepareCartridges()
public void provideDBprepareCartridges(@NotNull
org.gradle.api.provider.Provider<java.util.Set> list)
Provides a list of db initialization cartridges - module dependencies and project names - to the task. Dependent on the cartridge style and the configured environments the tasks will be downloaded to the project.
list - provider of a set of strings.@Optional @InputFile @NotNull public org.gradle.api.file.RegularFileProperty getLibFilterFile()
public void provideLibFilterFile(@NotNull
org.gradle.api.provider.Provider<org.gradle.api.file.RegularFile> libFilter)
Provides a file with a list of installed 3rd party libs in the base project container. See also task ProvideLibFilter.
libFilter - regular file provider.@Optional @Input @NotNull public org.gradle.api.provider.ListProperty<com.intershop.gradle.icm.utils.EnvironmentType> getEnvironmentTypes()
public void provideOutputDir(@NotNull
org.gradle.api.provider.Provider<org.gradle.api.file.Directory> cartridgeDir)
Provider configuration for target directory.
cartridgeDir - @OutputDirectory @NotNull public java.io.File getCartridgeDir()
Output directory of this task.
public void setCartridgeDir(@NotNull
java.io.File value)
Output directory of this task.
public void processDependencies()
Main task function.