类 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.artifactproperty.getGroup()Returns thebuild.groupproperty.getName()Returns thebuild.nameproperty.getTime()Returns thebuild.timeproperty.Returns thebuild.versionproperty.
-
构造器详细资料
-
BuildInfoProperties
-
-
方法详细资料
-
getGroup
Returns thebuild.groupproperty. Defaults to theProject's group.- 返回:
- the group property
-
getArtifact
Returns thebuild.artifactproperty.- 返回:
- the artifact property
-
getVersion
Returns thebuild.versionproperty. Defaults to theProject's version.- 返回:
- the version
-
getName
Returns thebuild.nameproperty. Defaults to theProject's name.- 返回:
- the name
-
getTime
Returns thebuild.timeproperty.- 返回:
- 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
-