Executes a Gradle build.
Constructor and description |
---|
GradleBuild
() |
Type | Name 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(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. |
Returns the build file that should be used for this build. Defaults to {
Returns the project directory for the build. Defaults to the project directory.
Returns the full set of parameters that will be used to execute the build.
Returns the tasks that should be executed for this build.
Sets the build file that should be used for this build.
file
- The build file. May be null to use the default build file for the build.Sets the project directory for the build.
dir
- The project directory. Should not be null.Sets the full set of parameters that will be used to execute the build.
startParameter
- the parameters. Should not be null.Sets the tasks that should be executed for this build.
tasks
- The task names. May be empty or null to use the default tasks for the build.Gradle API 2.2-20140924021627+0000