component-installation-plugin / com.intershop.gradle.component.installation.extension / InstallationExtension / add

add

fun add(component: Any): Component

Adds a dependency to the list of components.

Parameters

component - a dependency of a component.

fun add(component: Any, path: String): Component

Adds a dependency to the list of components and configures the path of the component.

Parameters

component - a dependency of a component.

path - the install path of the component

fun add(component: Any, action: Action<in Component>): Component

Adds a dependency to the list of components. The component is configured with an action or closure.

Parameters

component - a dependency of a component.

fun add(component: Any, path: String, action: Action<in Component>): Component

Adds a dependency to the list of components and configures the path of the component. The component is configured with an action or closure.

Parameters

component - a dependency of a component.

path - the install path of the component