Dependency Modifier
A DependencyModifier defines how to modify a dependency inside a custom dependencies block to select a different variant.
Since
8.0
Inheritors
Functions
Link copied to clipboard
@Incubating
operator fun DependencyModifier.invoke(dependency: Provider<out ModuleDependency>): Provider<out ModuleDependency>
Modifies a dependency to select the variant of the given module.
Link copied to clipboard
Takes a given ModuleDependency and modifies the dependency to select the variant of the given module.
Create an ExternalModuleDependency from the given notation and modifies it to select the variant of the given module as described in modify.
Takes a given
Provider to a ExternalModuleDependency and modifies the dependency to select the variant of the given module as described in modify.fun modify(providerConvertibleToDependency: ProviderConvertible<out MinimalExternalModuleDependency>): Provider<out MinimalExternalModuleDependency>
Takes a given
Provider to a MinimalExternalModuleDependency and modifies the dependency to select the variant of the given module as described in modify.