|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
@Incubating public interface GradleBuildInvocationSpec
A specification for launching a Gradle build with a specified Gradle version.
Method Summary | |
---|---|
List
|
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
|
getTasks()
The tasks to execute. |
void
|
setArguments(Iterable 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 tasks)
Sets the tasks to execute. |
Method Detail |
---|
public List getArguments()
public String getGradleVersion()
public File getProjectDir()
public List getTasks()
public void setArguments(Iterable arguments)
arguments
- The command line arguments (excluding tasks) to invoke the build with.
public void setGradleVersion(String gradleVersion)
gradleVersion
- The Gradle version to run the build with.
public void setProjectDir(Object projectDir)
projectDir
- The “root” directory of the build.
public void setTasks(Iterable tasks)
tasks
- The tasks to execute.
Gradle API 1.8