|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.api.tasks.GradleBuild
public class GradleBuild extends ConventionTask
Executes a Gradle build.
Constructor Summary | |
GradleBuild()
|
Method Summary | |
---|---|
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
|
getTasks()
Returns the sequence of tasks that should be executed for this build. |
void
|
setBuildFile(java.lang.Object file)
Sets the build file that should be used for this 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 tasks)
Sets the tasks that should be executed for this build. |
Constructor Detail |
---|
public GradleBuild()
Method Detail |
---|
public java.io.File getBuildFile()
public java.io.File getDir()
public StartParameter getStartParameter()
public java.util.List getTasks()
public void setBuildFile(java.lang.Object file)
file
- The build file. May be null to use the default build file for the build.
public void setDir(java.lang.Object dir)
dir
- The project directory. Should not be null.
public void setStartParameter(StartParameter startParameter)
startParameter
- the parameters. Should not be null.
public void setTasks(java.util.Collection tasks)
tasks
- The task names. May be empty or null to use the default tasks for the build.
Groovy Documentation