IvyModuleDescriptorSpec

The descriptor of any Ivy publication.

Corresponds to the XML version of the Ivy Module Descriptor.

The withXml method can be used to modify the descriptor after it has been generated according to the publication data. However, the preferred way to customize the project information to be published is to use the dedicated configuration methods exposed by this class, e.g. description.

Since

1.3

Functions

Link copied to clipboard
abstract fun author(action: Action<in IvyModuleDescriptorAuthor>)
Creates, configures and adds an author to this publication.
Link copied to clipboard
Configures the description for this publication.
Link copied to clipboard
abstract fun extraInfo(namespace: String, elementName: String, value: String)
Adds a new extra info element to the publication
Link copied to clipboard
@Nullable
abstract fun getBranch(): String
Returns the branch for this publication
Link copied to clipboard
Returns the extra info element spec for this publication
Link copied to clipboard
@Nullable
abstract fun getStatus(): String
Returns the status for this publication.
Link copied to clipboard
abstract fun license(action: Action<in IvyModuleDescriptorLicense>)
Creates, configures and adds a license to this publication.
Link copied to clipboard
abstract fun setBranch(@Nullable branch: String)
Sets the branch for this publication
Link copied to clipboard
abstract fun setStatus(@Nullable status: String)
Sets the status for this publication.
Link copied to clipboard
abstract fun withXml(action: Action<in XmlProvider>)
Allow configuration of the descriptor, after it has been generated according to the input data.