api / org.gradle.api.artifacts / ResolvedDependency / getParentArtifacts

getParentArtifacts

abstract fun getParentArtifacts(parent: ResolvedDependency): MutableSet<ResolvedArtifact>

Returns the artifacts belonging to this ResolvedDependency which it only has for a particular parent. Returns never null.

Parameters

parent - A parent of the ResolvedDependency. Must not be null.

Exceptions

org.gradle.api.InvalidUserDataException - If the parent is unknown or null