api / org.gradle.api.artifacts.result / DependencyResult / getRequested

getRequested

abstract fun getRequested(): ComponentSelector

Returns the requested component.

The return type is declared as an opaque org.gradle.api.artifacts.component.ComponentSelector, however the selector may also implement one of the following interfaces:

Return
the requested component