GradleBuildInvocationSpec

API Documentation:GradleBuildInvocationSpec

Note: This class is deprecated and will be removed in the next major version of Gradle.

A specification for launching a Gradle build with a specified Gradle version.

Properties

PropertyDescription
arguments

The command line arguments (excluding tasks) to invoke the build with.

gradleVersion

The Gradle version to run the build with. Defaults to the current Gradle version of the running build.

projectDir

The “root” directory of the build. Defaults to the current build's root directory.

tasks

The tasks to execute. Defaults to an empty list.

Methods

No methods

Script blocks

No script blocks

Property details

List<String> arguments

The command line arguments (excluding tasks) to invoke the build with.

String gradleVersion

The Gradle version to run the build with. Defaults to the current Gradle version of the running build.

File projectDir

The “root” directory of the build. Defaults to the current build's root directory.

List<String> tasks

The tasks to execute. Defaults to an empty list.