DependencyFilter

Functions

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

Create a Spec that matches the provided dependencyNotation.

abstract fun dependency(dependency: Dependency): Spec<ResolvedDependency>

Create a Spec that matches the provided dependency.

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

Exclude dependencies that match the provided spec.

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

Include dependencies that match the provided spec.

Link copied to clipboard
abstract fun project(path: String): Spec<ResolvedDependency>

Create a Spec that matches the provided project path.

abstract fun project(notation: Map<String, *>): 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.