interface DependencyFilter
| Type Params | Return Type | Name and description |
|---|---|---|
|
abstract Spec<? super ResolvedDependency> |
dependency(java.lang.Object notation)Create a spec that matches dependencies using the provided notation on group, name, and version |
|
abstract Spec<? super ResolvedDependency> |
dependency(org.gradle.api.artifacts.Dependency dependency)Create a spec that matches the provided dependency on group, name, and version |
|
abstract Spec<? super ResolvedDependency> |
dependency(groovy.lang.Closure spec)Create a spec that matches the provided closure |
|
abstract DependencyFilter |
exclude(Spec<? super ResolvedDependency> spec)Exclude dependencies that match the provided spec. |
|
abstract DependencyFilter |
include(Spec<? super ResolvedDependency> spec)Include dependencies that match the provided spec. |
|
abstract Spec<? super ResolvedDependency> |
project(java.util.Map<java.lang.String, ?> notation)Create a spec that matches the provided project notation on group, name, and version |
|
abstract Spec<? super ResolvedDependency> |
project(java.lang.String notation)Create a spec that matches the default configuration for the provided project path on group, name, and version |
|
abstract org.gradle.api.file.FileCollection |
resolve(org.gradle.api.file.FileCollection configuration)Resolve a FileCollection against the include/exclude rules in the filter |
|
abstract org.gradle.api.file.FileCollection |
resolve(java.util.Collection<FileCollection> configurations)Resolve all FileCollections against the include/exclude ruels in the filter and combine the results |
Create a spec that matches dependencies using the provided notation on group, name, and version @return
Create a spec that matches the provided dependency on group, name, and version @return
Create a spec that matches the provided closure @return
Exclude dependencies that match the provided spec. @return
Include dependencies that match the provided spec. @return
Create a spec that matches the provided project notation on group, name, and version @return
Create a spec that matches the default configuration for the provided project path on group, name, and version @return
Resolve a FileCollection against the include/exclude rules in the filter @return
Resolve all FileCollections against the include/exclude ruels in the filter and combine the results @return