public class ProjectConfiguration
Extension of an Intershop ICM project.
@Inject
public ProjectConfiguration(@NotNull
org.gradle.api.model.ObjectFactory objectFactory,
@NotNull
org.gradle.api.file.ProjectLayout projectLayout)
creates the extension of a project configuration.
@NotNull public java.io.File getContainerConfig()
@NotNull public java.io.File getTestcontainerConfig()
@NotNull public java.io.File getConfig()
@NotNull public java.io.File getContainerSites()
@NotNull public java.io.File getTestcontainerSites()
@NotNull public java.io.File getSites()
@NotNull public org.gradle.api.provider.Property<java.lang.Boolean> getNewBaseProject()
@NotNull public CartridgeProject getBase()
Base project configuration for final project.
public void base(@NotNull
org.gradle.api.Action<? super com.intershop.gradle.icm.extension.CartridgeProject> action)
Configures a binary base project (This is also connected to a Docker image.).
action - Action to configure Cartridge project (ICM)public void base(@NotNull
groovy.lang.Closure<com.intershop.gradle.icm.extension.CartridgeProject> c)
Configures a binary base project (This is also connected to a Docker image.).
c - Closure to configure Cartridge project (ICM)@NotNull public org.gradle.api.NamedDomainObjectContainer<com.intershop.gradle.icm.extension.NamedCartridgeProject> getModules()
@NotNull public org.gradle.api.provider.Property<java.lang.String> getCartridgeListDependency()
@NotNull public org.gradle.api.provider.Property<java.lang.String> getLibFilterFileDependency()
@NotNull public org.gradle.api.provider.SetProperty<java.lang.String> getCartridges()
Cartridges of this project.
public void cartridge(@NotNull
java.lang.String cartridge)
Add a single cartridge to the list.
cartridge - name of an ICM cartridge@NotNull public org.gradle.api.provider.SetProperty<java.lang.String> getDbprepareCartridges()
Cartridges of this project.
public void setDbprepareCartridges(@NotNull
org.gradle.api.provider.SetProperty<java.lang.String> p)
Cartridges of this project.
public void dbprepareCartridge(@NotNull
java.lang.String cartridge)
Add a single cartridge to the list of dbprepare cartridges.
cartridge - name of an ICM cartridge@NotNull public ProjectServerDirs getServerDirConfig()
public void serverDirConfig(@NotNull
org.gradle.api.Action<? super com.intershop.gradle.icm.extension.ProjectServerDirs> action)
Configures the directory configuration of the project.
action - Action to configure project server dirspublic void serverDirConfig(@NotNull
groovy.lang.Closure<com.intershop.gradle.icm.extension.ProjectServerDirs> c)
Configures the directory configuration of the project.
c - Closure to configure project server dirs