Represents a set of rules/actions that can be applied during dependency resolution. Currently these are restricted to controlling caching, but these could possibly be extended in the future to include other manipulations.
Type | Name and description |
---|---|
void |
eachArtifact(Action<? super ArtifactResolutionControl> rule) Apply a rule to control resolution of artifacts. |
void |
eachDependency(Action<? super DependencyResolutionControl> rule) Apply a rule to control resolution of dependencies. |
void |
eachModule(Action<? super ModuleResolutionControl> rule) Apply a rule to control resolution of modules. |
Apply a rule to control resolution of artifacts.
rule
- the rule to applyApply a rule to control resolution of dependencies.
rule
- the rule to applyApply a rule to control resolution of modules.
rule
- the rule to apply