gradle
8.3

# DependencyResolveDetails

interface DependencyResolveDetails

Provides details about a dependency when it is resolved. Provides means to manipulate dependency metadata when it is resolved.

## Functions

artifactSelection
Link copied to clipboard
abstract fun artifactSelection(details: Action<out Any>): DependencyResolveDetails
Configures the artifact selection for the target component of this dependency resolution rule.
because
Link copied to clipboard
abstract fun because(description: String): DependencyResolveDetails
Sets a human readable description for the reason the component is selected.
getRequested
Link copied to clipboard
abstract fun getRequested(): ModuleVersionSelector
The module, before it is resolved.
getTarget
Link copied to clipboard
abstract fun getTarget(): ModuleVersionSelector
The target module selector used to resolve the dependency.
useTarget
Link copied to clipboard
abstract fun useTarget(notation: Any)
Allows to override the details of the dependency (see getTarget) when it is resolved (see getRequested).
useVersion
Link copied to clipboard
abstract fun useVersion(version: String)
Allows to override the version when the dependency getRequested is resolved.