fun include(component: Component, override: Boolean = true, subcomponentIncludeMode: Component.Builder.SubcomponentIncludeMode = SubcomponentIncludeMode.Merge): Unit
Include dependency from the given component into the new component.
component
- The component to include the dependencies from.
override
- Set to false to throw an exception if a dependency already exists
otherwise it will be replaced.
subcomponentIncludeMode
- Defines the behaviour when a subcomponent with the same
qualifier already exists.