api / org.gradle.api.artifacts / ComponentModuleMetadata

ComponentModuleMetadata

@Incubating interface ComponentModuleMetadata

Contains immutable component module metadata information.

Since
2.2

Functions

getId

abstract fun getId(): ModuleIdentifier

The identifier of the module.

getReplacedBy

abstract fun getReplacedBy(): ModuleIdentifier

The identifier of module that replaces this module. A real world example: 'com.google.collections:google-collections' is replaced by 'com.google.guava:guava'.

Inheritors

ComponentModuleMetadataDetails

interface ComponentModuleMetadataDetails : ComponentModuleMetadata

Contains and allows configuring component module metadata information. For information and examples please see org.gradle.api.artifacts.dsl.ComponentModuleMetadataHandler