类 BuildInfoProperties
java.lang.Object
cn.taketoday.gradle.tasks.buildinfo.BuildInfoProperties
- 所有已实现的接口:
Serializable
The properties that are written into the
build-info.properties file.- 从以下版本开始:
- 4.0
- 作者:
- Andy Wilkinson, Harry Yang
- 另请参阅:
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器构造器说明BuildInfoProperties(org.gradle.api.Project project, org.gradle.api.provider.SetProperty<String> excludes) -
方法概要
修饰符和类型方法说明applyExclusions(Map<String, Object> input) coerceToStringValues(Map<String, Object> input) Returns the additional properties that will be included.abstract org.gradle.api.provider.Property<String>Returns thebuild.artifactproperty.(专用程序包) Stringabstract org.gradle.api.provider.Property<String>getGroup()Returns thebuild.groupproperty.(专用程序包) Stringprivate <T> TgetIfNotExcluded(org.gradle.api.provider.Property<T> property, String name) private <T> TgetIfNotExcluded(org.gradle.api.provider.Property<T> property, String name, Supplier<T> defaultValue) abstract org.gradle.api.provider.Property<String>getName()Returns thebuild.nameproperty.(专用程序包) Stringabstract org.gradle.api.provider.Property<String>getTime()Returns thebuild.timeproperty.(专用程序包) Instantabstract org.gradle.api.provider.Property<String>Returns thebuild.versionproperty.(专用程序包) String
-
字段详细资料
-
excludes
-
creationTime
-
-
构造器详细资料
-
BuildInfoProperties
@Inject public BuildInfoProperties(org.gradle.api.Project project, org.gradle.api.provider.SetProperty<String> excludes)
-
-
方法详细资料
-
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
-
getArtifactIfNotExcluded
-
getGroupIfNotExcluded
-
getNameIfNotExcluded
-
getTimeIfNotExcluded
-
getVersionIfNotExcluded
-
getAdditionalIfNotExcluded
-
getIfNotExcluded
-
getIfNotExcluded
-
coerceToStringValues
-
applyExclusions
-