api / org.gradle.api.artifacts.result / ResolvedComponentResult / getDependencies

getDependencies

abstract fun getDependencies(): MutableSet<out DependencyResult>

Returns the dependencies of this component. Includes resolved and unresolved dependencies (if any).

The elements of the returned collection are declared as DependencyResult, however the dependency instances will also implement one of the following instances:

Return
the dependencies of this component