public class GradleBuild
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| Constructor | Description | 
|---|---|
| GradleBuild() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| java.io.File | getBuildFile() | Returns the build file that should be used for this build. | 
| java.io.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. | 
| java.util.List<java.lang.String> | getTasks() | Returns the tasks that should be executed for this build. | 
| void | setBuildFile(java.io.File file) | Sets the build file that should be used for this build. | 
| void | setBuildFile(java.lang.Object file) | Sets the build file that should be used for this build. | 
| void | setDir(java.io.File dir) | Sets the project directory for the build. | 
| void | setDir(java.lang.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(java.util.Collection<java.lang.String> tasks) | Sets the tasks that should be executed for this build. | 
| void | setTasks(java.util.List<java.lang.String> tasks) | Sets the tasks that should be executed for this build. | 
appendParallelSafeAction, compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getIdentityPath, getImpliesSubProjects, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTaskIdentity, getTemporaryDir, getTemporaryDirFactory, getTimeout, hasProperty, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, mustRunAfter, onlyIf, onlyIf, prependParallelSafeAction, property, replaceLogger, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, toStringconventionMapping, conventionMapping, getConventionMappingnewInputDirectory, newInputFile, newOutputDirectory, newOutputFile@Internal public StartParameter getStartParameter()
public void setStartParameter(StartParameter startParameter)
startParameter - the parameters. Should not be null.@Internal public java.io.File getDir()
public void setDir(java.io.File dir)
dir - The project directory. Should not be null.public void setDir(java.lang.Object dir)
dir - The project directory. Should not be null.@Nullable @Optional @PathSensitive(NAME_ONLY) @InputFile public java.io.File getBuildFile()
public void setBuildFile(@Nullable
                         java.io.File file)
file - The build file. May be null to use the default build file for the build.public void setBuildFile(@Nullable
                         java.lang.Object file)
file - The build file. May be null to use the default build file for the build.@Input public java.util.List<java.lang.String> getTasks()
public void setTasks(java.util.List<java.lang.String> tasks)
tasks - The task names. May be empty or null to use the default tasks for the build.public void setTasks(java.util.Collection<java.lang.String> tasks)
tasks - The task names. May be empty or null to use the default tasks for the build.