Class BuildInfoProperties
java.lang.Object
org.springframework.boot.gradle.tasks.buildinfo.BuildInfoProperties
- All Implemented Interfaces:
Serializable
The properties that are written into the
build-info.properties
file.- Since:
- 2.0.0
- Author:
- Andy Wilkinson
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract MapProperty<String,
Object> Returns the additional properties that will be included.Returns thebuild.artifact
property.getGroup()
Returns thebuild.group
property.getName()
Returns thebuild.name
property.getTime()
Returns thebuild.time
property.Returns thebuild.version
property.
-
Constructor Details
-
BuildInfoProperties
-
-
Method Details
-
getGroup
Returns thebuild.group
property. Defaults to theProject's group
.- Returns:
- the group property
-
getArtifact
Returns thebuild.artifact
property.- Returns:
- the artifact property
-
getVersion
Returns thebuild.version
property. Defaults to theProject's version
.- Returns:
- the version
-
getName
Returns thebuild.name
property. Defaults to theProject's name
.- Returns:
- the name
-
getTime
Returns thebuild.time
property.- Returns:
- the time
-
getAdditional
Returns the additional properties that will be included. When written, the name of each additional property is prefixed withbuild.
.- Returns:
- the additional properties
-