DependencyFilter

Types

Link copied to clipboard
abstract class AbstractDependencyFilter(project: Project, includeSpecs: MutableList<Spec<ResolvedDependency>> = mutableListOf(), excludeSpecs: MutableList<Spec<ResolvedDependency>> = mutableListOf()) : DependencyFilter

Functions

Link copied to clipboard
abstract fun dependency(dependencyNotation: Any): Spec<ResolvedDependency>

Create a Spec that matches the provided dependencyNotation.

Link copied to clipboard
abstract fun exclude(spec: Spec<ResolvedDependency>)

Exclude dependencies that match the provided spec.

Link copied to clipboard
abstract fun include(spec: Spec<ResolvedDependency>)

Include dependencies that match the provided spec.

Link copied to clipboard
abstract fun project(notation: Any): Spec<ResolvedDependency>

Create a Spec that matches the provided project notation.

Link copied to clipboard
abstract fun resolve(configurations: Collection<Configuration>): FileCollection

Resolve all configurations against the include/exclude rules in the filter and combine the results.

abstract fun resolve(configuration: Configuration): FileCollection

Resolve a configuration against the include/exclude rules in the filter.