fun add(component: Any): Component
Adds a dependency to the list of components.
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.
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.
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.