interface DependencyFilter
Type Params | Return Type | Name and description |
---|---|---|
|
abstract org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency> |
dependency(java.lang.Object notation) Create a spec that matches dependencies using the provided notation on group, name, and version |
|
abstract org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency> |
dependency(org.gradle.api.artifacts.Dependency dependency) Create a spec that matches the provided dependency on group, name, and version |
|
abstract org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency> |
dependency(groovy.lang.Closure spec) Create a spec that matches the provided closure |
|
abstract DependencyFilter |
exclude(org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency> spec) Exclude dependencies that match the provided spec. |
|
abstract DependencyFilter |
include(org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency> spec) Include dependencies that match the provided spec. |
|
abstract org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency> |
project(java.util.Map<java.lang.String, ?> notation) Create a spec that matches the provided project notation on group, name, and version |
|
abstract org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.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<org.gradle.api.file.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