Package org.gradle.pomproperties
Class PomPropertiesExtension
java.lang.Object
org.gradle.pomproperties.PomPropertiesExtension
Configuration for the
pom.properties generated into the main jar.
By convention the coordinates are taken from the project: groupId from
project.group, artifactId from project.name, and version
from project.version. Any of them can be overridden, for example:
pomProperties {
artifactId = "custom-artifact-id"
}
-
Constructor Details
-
PomPropertiesExtension
public PomPropertiesExtension()
-
-
Method Details
-
getGroupId
The MavengroupId. Defaults toproject.group. -
getArtifactId
The MavenartifactId. Defaults toproject.name. -
getVersion
The Mavenversion. Defaults toproject.version.
-