public class BuildInfo extends org.gradle.api.internal.ConventionTask
Task.NamerTASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| コンストラクターと説明 |
|---|
BuildInfo() |
| 修飾子と型 | メソッドと説明 |
|---|---|
void | generateBuildProperties() 構成された destination に build-info.properties ファイルを生成します。 |
FileSE | getDestinationDir()build-info.properties ファイルが書き込まれるディレクトリを返します。 |
BuildInfoProperties | getProperties()build-info.properties ファイルに含まれる properties を返します。 |
void | properties(Action<BuildInfoProperties> action)getProperties() プロパティで指定された action を実行します。 |
void | setDestinationDir(FileSE destinationDir)build-info.properties ファイルが書き込まれるディレクトリを設定します。 |
conventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFileaddValidator, appendParallelSafeAction, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doFirst, doLast, doLast, doLast, execute, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic void generateBuildProperties()
destination に build-info.properties ファイルを生成します。@OutputDirectory public FileSE getDestinationDir()
build-info.properties ファイルが書き込まれるディレクトリを返します。デフォルトは Project's build directory です。public void setDestinationDir(FileSE destinationDir)
build-info.properties ファイルが書き込まれるディレクトリを設定します。destinationDir - 宛先ディレクトリ @Input public BuildInfoProperties getProperties()
build-info.properties ファイルに含まれる properties を返します。public void properties(Action<BuildInfoProperties> action)
getProperties() プロパティで指定された action を実行します。action - アクション