|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.AbstractTask org.gradle.api.DefaultTask org.gradle.api.internal.ConventionTask org.gradle.api.tasks.GradleBuild
public class GradleBuild
Executes a Gradle build.
Field Summary |
---|
Fields inherited from interface org.gradle.api.Task |
---|
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_NAME, TASK_OVERWRITE, TASK_TYPE |
Constructor Summary | |
---|---|
GradleBuild()
|
Method Summary | |
---|---|
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(Object file)
Sets the build file that should be used for this 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. |
Methods inherited from class org.gradle.api.internal.ConventionTask |
---|
conventionMapping, getConventionMapping, setConventionMapping |
Methods inherited from class org.gradle.api.internal.AbstractTask |
---|
captureStandardOutput, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doFirst, doLast, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuter, getGroup, getInputs, getLogger, getLogging, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getTaskDependencies, getTemporaryDir, hashCode, hasProperty, injectIntoNewInstance, isEnabled, leftShift, onlyIf, onlyIf, property, setActions, setConvention, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setGroup, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GradleBuild()
Method Detail |
---|
public StartParameter getStartParameter()
public void setStartParameter(StartParameter startParameter)
startParameter
- the parameters. Should not be null.public File getDir()
public void setDir(Object dir)
dir
- The project directory. Should not be null.public File getBuildFile()
public void setBuildFile(Object file)
file
- The build file. May be null to use the default build file for the build.public List<String> getTasks()
public void setTasks(Collection<String> tasks)
tasks
- The task names. May be empty or null to use the default tasks for the build.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |