@Incubating public interface GradleBuildInvocationSpec
修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
File getProjectDir()
void setProjectDir(Object projectDir)
Project.file(Object)
.projectDir
- The “root” directory of the build.String getGradleVersion()
void setGradleVersion(String gradleVersion)
"1.1"
"1.0-rc-1"
gradleVersion
- The Gradle version to run the build with.List<String> getTasks()
void setTasks(Iterable<String> tasks)
tasks
- The tasks to execute.List<String> getArguments()