public class GradleBuild
extends org.gradle.api.internal.ConventionTask
Task.NamerTASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE| Constructor and Description |
|---|
GradleBuild() |
| Modifier and Type | Method and Description |
|---|---|
File |
getBuildFile()
Returns the build file that should be used for this build.
|
File |
getDir()
Returns the project directory for the build.
|
StartParameter |
getStartParameter()
Returns the full set of parameters that will be used to execute the build.
|
List<String> |
getTasks()
Returns the tasks that should be executed for this build.
|
void |
setBuildFile(File file)
Sets the build file that should be used for this build.
|
void |
setBuildFile(Object file)
Sets the build file that should be used for this build.
|
void |
setDir(File dir)
Sets the project directory for the build.
|
void |
setDir(Object dir)
Sets the project directory for the build.
|
void |
setStartParameter(StartParameter startParameter)
Sets the full set of parameters that will be used to execute the build.
|
void |
setTasks(Collection<String> tasks)
Sets the tasks that should be executed for this build.
|
void |
setTasks(List<String> tasks)
Sets the tasks that should be executed for this build.
|
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, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, isHasCustomActions, leftShift, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toString@Internal public StartParameter getStartParameter()
public void setStartParameter(StartParameter startParameter)
startParameter - the parameters. Should not be null.@Internal public File getDir()
public void setDir(File dir)
dir - The project directory. Should not be null.public void setDir(Object dir)
dir - The project directory. Should not be null.@Optional @InputFile public File getBuildFile()
public void setBuildFile(File file)
file - The build file. May be null to use the default build file for the build.public void setBuildFile(Object file)
file - The build file. May be null to use the default build file for the build.@Input public List<String> getTasks()
public void setTasks(List<String> tasks)
tasks - The task names. May be empty or null to use the default tasks for the build.public void setTasks(Collection<String> tasks)
tasks - The task names. May be empty or null to use the default tasks for the build.