| 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. |
|
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)Resolve a Configuration against the include/exclude rules in the filter |
|
org.gradle.api.file.FileCollection |
resolve(java.util.Collection<org.gradle.api.artifacts.Configuration> configurations)Resolve all Configurations 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
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
Resolve a Configuration against the include/exclude rules in the filter
Resolve all Configurations against the include/exclude ruels in the filter and combine the results