# getParentArtifacts

abstract fun getParentArtifacts(parent: ResolvedDependency): Set<ResolvedArtifact>(source)

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.

#### Throws

org.gradle.api.InvalidUserDataException

If the parent is unknown or null