类 BuildInfoProperties
java.lang.Object
org.springframework.boot.gradle.tasks.buildinfo.BuildInfoProperties
- 所有已实现的接口:
Serializable
The properties that are written into the
build-info.properties
file.- 从以下版本开始:
- 2.0.0
- 作者:
- Andy Wilkinson
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明abstract 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.
-
构造器详细资料
-
BuildInfoProperties
-
-
方法详细资料
-
getGroup
Returns thebuild.group
property. Defaults to theProject's group
.- 返回:
- the group property
-
getArtifact
Returns thebuild.artifact
property.- 返回:
- the artifact property
-
getVersion
Returns thebuild.version
property. Defaults to theProject's version
.- 返回:
- the version
-
getName
Returns thebuild.name
property. Defaults to theProject's name
.- 返回:
- the name
-
getTime
Returns thebuild.time
property.- 返回:
- the time
-
getAdditional
Returns the additional properties that will be included. When written, the name of each additional property is prefixed withbuild.
.- 返回:
- the additional properties
-