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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract MapProperty<String,Object> Returns the additional properties that will be included.Returns thebuild.artifactproperty.getGroup()Returns thebuild.groupproperty.getName()Returns thebuild.nameproperty.getTime()Returns thebuild.timeproperty.Returns thebuild.versionproperty.
-
Constructor Details
-
BuildInfoProperties
-
-
Method Details
-
getGroup
Returns thebuild.groupproperty. Defaults to theProject's group.- Returns:
- the group property
-
getArtifact
Returns thebuild.artifactproperty.- Returns:
- the artifact property
-
getVersion
Returns thebuild.versionproperty. Defaults to theProject's version.- Returns:
- the version
-
getName
Returns thebuild.nameproperty. Defaults to theProject's name.- Returns:
- the name
-
getTime
Returns thebuild.timeproperty.- 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
-