include

fun include(component: Component, subcomponentIncludeMode: Component.Builder.SubcomponentIncludeMode = SubcomponentIncludeMode.Merge)(source)

Include dependency from the given component into the new component.

Parameters

component

The component to include the dependencies from.

subcomponentIncludeMode

Defines the behaviour when a subcomponent with the same qualifier already exists.