@groovy.util.logging.Slf4j abstract class AbstractDependencyFilter extends java.lang.Object implements DependencyFilter
Modifiers | Name | Description |
---|---|---|
protected java.util.List<org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency>> |
excludeSpecs |
|
protected java.util.List<org.gradle.api.specs.Spec<? super org.gradle.api.artifacts.ResolvedDependency>> |
includeSpecs |
Constructor and description |
---|
AbstractDependencyFilter
(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 |
|
protected abstract 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) |
|
org.gradle.api.file.FileCollection |
resolve(org.gradle.api.file.FileCollection configuration) |
|
org.gradle.api.file.FileCollection |
resolve(java.util.Collection<org.gradle.api.file.FileCollection> configurations) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long), java.lang.Object#wait(long, int), 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 @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