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