open class GradleBuild : ConventionTask
Executes a Gradle build.
GradleBuild() |
open fun getBuildFile(): File
Returns the build file that should be used for this build. Defaults to {@value * org.gradle.api.Project#DEFAULT_BUILD_FILE} in the project directory. |
|
open fun getDir(): File
Returns the project directory for the build. Defaults to the project directory. |
|
open fun getStartParameter(): StartParameter
Returns the full set of parameters that will be used to execute the build. |
|
open fun getTasks(): MutableList<String>
Returns the tasks that should be executed for this build. |
|
open fun setBuildFile(file: File): Unit open fun setBuildFile(file: Any): Unit
Sets the build file that should be used for this build. |
|
open fun setDir(dir: File): Unit open fun setDir(dir: Any): Unit
Sets the project directory for the build. |
|
open fun setStartParameter(startParameter: StartParameter): Unit
Sets the full set of parameters that will be used to execute the build. |
|
open fun setTasks(tasks: MutableList<String>): Unit open fun setTasks(tasks: MutableCollection<String>): Unit
Sets the tasks that should be executed for this build. |