public class BuildInfo
extends org.gradle.api.internal.ConventionTask
Project
から build-info.properties
ファイルを生成するための Task
コンストラクターと説明 |
---|
BuildInfo() |
修飾子と型 | メソッドと説明 |
---|---|
void | generateBuildProperties() 構成された destination に build-info.properties ファイルを生成します。 |
java.io.File | getDestinationDir() build-info.properties ファイルが書き込まれるディレクトリを返します。 |
BuildInfoProperties | getProperties() build-info.properties ファイルに含まれる properties を返します。 |
void | properties(org.gradle.api.Action<BuildInfoProperties> action) getProperties() プロパティで指定された action を実行します。 |
void | setDestinationDir(java.io.File destinationDir) build-info.properties ファイルが書き込まれるディレクトリを設定します。 |
conventionMapping, conventionMapping, getConventionMapping
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, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriter
public void generateBuildProperties()
destination
に build-info.properties
ファイルを生成します。@OutputDirectory public java.io.File getDestinationDir()
build-info.properties
ファイルが書き込まれるディレクトリを返します。デフォルトは Project's build directory
です。public void setDestinationDir(java.io.File destinationDir)
build-info.properties
ファイルが書き込まれるディレクトリを設定します。destinationDir
- 宛先ディレクトリ public BuildInfoProperties getProperties()
build-info.properties
ファイルに含まれる properties
を返します。public void properties(org.gradle.api.Action<BuildInfoProperties> action)
getProperties()
プロパティで指定された action
を実行します。action
- アクション