@groovy.util.logging.Slf4j class DefaultDependencyFilter extends java.lang.Object
| Constructor and description |
|---|
DefaultDependencyFilter
(org.gradle.api.Project project) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
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 |
|
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 |
|
org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency> |
dependency(groovy.lang.Closure spec)Create a spec that matches the provided closure |
|
DependencyFilter |
exclude(org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency> spec)Exclude dependencies that match the provided spec. |
|
DependencyFilter |
include(org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency> spec)Include dependencies that match the provided spec. |
|
protected boolean |
isIncluded(org.gradle.api.artifacts.ResolvedDependency dependency) |
|
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 |
|
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 |
|
org.gradle.api.file.FileCollection |
resolve(org.gradle.api.artifacts.Configuration configuration) |
|
org.gradle.api.file.FileCollection |
resolve(java.util.Collection<org.gradle.api.artifacts.Configuration> configurations) |
|
protected void |
resolve(java.util.Set<org.gradle.api.artifacts.ResolvedDependency> dependencies, java.util.Set<org.gradle.api.artifacts.ResolvedDependency> includedDependencies, java.util.Set<org.gradle.api.artifacts.ResolvedDependency> excludedDependencies) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Create a spec that matches dependencies using the provided notation on group, name, and version
Create a spec that matches the provided dependency on group, name, and version
Create a spec that matches the provided closure
Exclude dependencies that match the provided spec.
Include dependencies that match the provided spec.
Create a spec that matches the provided project notation on group, name, and version
Create a spec that matches the default configuration for the provided project path on group, name, and version