api / org.gradle.api.publish.maven / MavenPomRelocation

MavenPomRelocation

@Incubating interface MavenPomRelocation

The relocation information of a Maven publication that has been moved to a new group and/or artifact ID.

Since
4.8

See Also
MavenPomMavenPomDistributionManagement

Functions

getArtifactId

abstract fun getArtifactId(): Property<String>

The new artifact ID of the artifact.

getGroupId

abstract fun getGroupId(): Property<String>

The new group ID of the artifact.

getMessage

abstract fun getMessage(): Property<String>

The message to show the user for this relocation.

getVersion

abstract fun getVersion(): Property<String>

The new version of the artifact.