api / org.gradle.api.artifacts.dsl / DependencyHandler / getComponents

getComponents

@Incubating abstract fun getComponents(): ComponentMetadataHandler

Returns the component metadata handler for this project. The returned handler can be used for adding rules that modify the metadata of depended-on software components.

Return
the component metadata handler for this project

Since
1.8