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

components

@Incubating abstract fun components(configureAction: Action<in ComponentMetadataHandler>): Unit

Configures component metadata for this project.

This method executes the given action against the org.gradle.api.artifacts.dsl.ComponentMetadataHandler for this project.

Parameters

configureAction - the action to use to configure module metadata

Since
1.8