Interface ResolutionRules
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoideachArtifact(Action<? super ArtifactResolutionControl> rule) Apply a rule to control resolution of artifacts.voideachDependency(Action<? super DependencyResolutionControl> rule) Apply a rule to control resolution of dependencies.voideachModule(Action<? super ModuleResolutionControl> rule) Apply a rule to control resolution of modules.
-
Method Details
-
eachDependency
Apply a rule to control resolution of dependencies.- Parameters:
rule- the rule to apply
-
eachModule
Apply a rule to control resolution of modules.- Parameters:
rule- the rule to apply
-
eachArtifact
Apply a rule to control resolution of artifacts.- Parameters:
rule- the rule to apply
-