api / org.gradle.api.artifacts.ivy / IvyModuleDescriptor

IvyModuleDescriptor

@Incubating interface IvyModuleDescriptor

The metadata about an Ivy module that acts as an input to a component metadata rule.

Functions

getBranch

abstract fun getBranch(): String

* Returns the branch attribute of the info element in this descriptor.

getExtraInfo

abstract fun getExtraInfo(): IvyExtraInfo

Returns an org.gradle.api.artifacts.ivy.IvyExtraInfo representing the "extra" info declared in this descriptor.

The extra info is the set of all non-standard subelements of the info element.

getIvyStatus

abstract fun getIvyStatus(): String

Returns the status attribute of the info element in this descriptor. Note that this always represents the status from the ivy.xml for this module. It is not affected by changes to the status made via the org.gradle.api.artifacts.ComponentMetadataDetails interface in a component metadata rule.