public interface GradleBuildInvocationSpec
| Modifier and Type | Method | Description | 
|---|---|---|
| List<String> | getArguments() | The command line arguments (excluding tasks) to invoke the build with. | 
| String | getGradleVersion() | The Gradle version to run the build with. | 
| File | getProjectDir() | The “root” directory of the build. | 
| List<String> | getTasks() | The tasks to execute. | 
| void | setArguments(Iterable<String> arguments) | Sets the command line arguments (excluding tasks) to invoke the build with. | 
| void | setGradleVersion(String gradleVersion) | Sets the Gradle version to run the build with. | 
| void | setProjectDir(Object projectDir) | Sets the “root” directory of the build. | 
| void | setTasks(Iterable<String> tasks) | Sets the tasks to execute. | 
@Internal File getProjectDir()
void setProjectDir(Object projectDir)
Project.file(Object).projectDir - The “root” directory of the build.@Input String getGradleVersion()
void setGradleVersion(String gradleVersion)
"1.1""1.0-rc-1"gradleVersion - The Gradle version to run the build with.@Input List<String> getTasks()
void setTasks(Iterable<String> tasks)
tasks - The tasks to execute.@Input List<String> getArguments()