クラス BuildInfo
java.lang.ObjectSE
org.gradle.api.internal.AbstractTask
org.gradle.api.DefaultTask
org.springframework.boot.gradle.tasks.buildinfo.BuildInfo
- 実装されたすべてのインターフェース:
ComparableSE<Task>
、org.gradle.api.internal.DynamicObjectAware
、org.gradle.api.internal.TaskInternal
、Named
、ExtensionAware
、Task
、Configurable<Task>
@DisableCachingByDefault(because="Not worth caching")
public abstract class BuildInfo
extends DefaultTask
- 導入:
- 2.0.0
- 作成者:
- Andy Wilkinson
ネストされたクラスのサマリー
インターフェース org.gradle.api.Task から継承されたネストクラス / インターフェース
Task.Namer
フィールドのサマリー
インターフェース org.gradle.api.Task から継承されたフィールド
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明void
構成されたdestination
にbuild-info.properties
ファイルを生成します。abstract DirectoryProperty
build-info.properties
ファイルが書き込まれるディレクトリを返します。abstract SetProperty<StringSE>
出力から除外するプロパティの名前を返します。build-info.properties
ファイルに含まれるproperties
を返します。void
properties
(Action<BuildInfoProperties> action) getProperties()
プロパティで指定されたaction
を実行します。クラス org.gradle.api.DefaultTask から継承されたメソッド
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
クラス org.gradle.api.internal.AbstractTask から継承されたメソッド
acceptServiceReferences, appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
クラス java.lang.ObjectSE から継承されたメソッド
clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, toString, wait, waitSE, waitSE
インターフェース org.gradle.api.Task から継承されたメソッド
doNotTrackState, getConvention, notCompatibleWithConfigurationCache
コンストラクターの詳細
BuildInfo
public BuildInfo()
メソッドの詳細
getExcludes
出力から除外するプロパティの名前を返します。- 戻り値:
- 除外するプロパティの名前
- 導入:
- 3.0.0
generateBuildProperties
public void generateBuildProperties()構成されたdestination
にbuild-info.properties
ファイルを生成します。getDestinationDir
build-info.properties
ファイルが書き込まれるディレクトリを返します。- 戻り値:
- 宛先ディレクトリ
getProperties
build-info.properties
ファイルに含まれるproperties
を返します。- 戻り値:
- プロパティ
properties
getProperties()
プロパティで指定されたaction
を実行します。- パラメーター:
action
- アクション