GradleBuildOptions

constructor(@Json(name = "configurationOnDemandEnabled") configurationOnDemandEnabled: Boolean, @Json(name = "continuousBuildEnabled") continuousBuildEnabled: Boolean, @Json(name = "continueOnFailureEnabled") continueOnFailureEnabled: Boolean, @Json(name = "daemonEnabled") daemonEnabled: Boolean, @Json(name = "dryRunEnabled") dryRunEnabled: Boolean, @Json(name = "excludedTasks") excludedTasks: List<String>, @Json(name = "maxNumberOfGradleWorkers") maxNumberOfGradleWorkers: Int, @Json(name = "offlineModeEnabled") offlineModeEnabled: Boolean, @Json(name = "parallelProjectExecutionEnabled") parallelProjectExecutionEnabled: Boolean, @Json(name = "refreshDependenciesEnabled") refreshDependenciesEnabled: Boolean, @Json(name = "rerunTasksEnabled") rerunTasksEnabled: Boolean, @Json(name = "buildCacheEnabled") buildCacheEnabled: Boolean? = null, @Json(name = "configurationCacheEnabled") configurationCacheEnabled: Boolean? = null, @Json(name = "fileSystemWatchingEnabled") fileSystemWatchingEnabled: Boolean? = null)

Parameters

configurationOnDemandEnabled

Indicates whether configuration on demand mode is enabled for the build. See https://docs.gradle.org/current/userguide/multi_project_configuration_and_execution.html#sec:configuration_on_demand.

continuousBuildEnabled

Indicates whether continuous build mode is running for the build. See https://docs.gradle.org/current/userguide/command_line_interface.html#sec:continuous_build.

continueOnFailureEnabled

Indicates whether continue on failure mode is set for the build. See https://docs.gradle.org/current/userguide/command_line_interface.html#sec:continue_build_on_failure.

daemonEnabled

Indicates whether the build is run with the Gradle Daemon. See https://docs.gradle.org/current/userguide/gradle_daemon.html.

dryRunEnabled

Indicates whether the dry run flag is set for the build. See https://docs.gradle.org/current/userguide/command_line_interface.html#sec:command_line_execution_options.

excludedTasks

The list of excluded tasks. See https://docs.gradle.org/current/userguide/command_line_interface.html#sec:excluding_tasks_from_the_command_line.

maxNumberOfGradleWorkers

The maximum number of build workers used to run the build. See https://docs.gradle.org/current/userguide/command_line_interface.html#sec:command_line_performance.

offlineModeEnabled

Indicates whether the offline mode is set for the build. See https://docs.gradle.org/current/userguide/dynamic_versions.html#sec:offline-mode.

parallelProjectExecutionEnabled

Indicates whether parallel project execution is enabled for the build. See https://docs.gradle.org/current/userguide/multi_project_configuration_and_execution.html#sec:parallel_execution.

refreshDependenciesEnabled

Indicates whether the build is set to refresh all dependencies in the dependency cache. See https://docs.gradle.org/current/userguide/dynamic_versions.html#sec:refreshing-dependencies.

rerunTasksEnabled

Indicates whether the build is forced to run all the tasks, ignoring any up-to-date checks. https://docs.gradle.org/current/userguide/command_line_interface.html#sec:rerun_tasks.

buildCacheEnabled

Indicates whether the build cache is enabled for the build. null if Gradle version is <3.1 or Develocity Gradle plugin version is <1.3. See https://docs.gradle.org/current/javadoc/org/gradle/StartParameter.html#isBuildCacheEnabled--.

configurationCacheEnabled

Indicates whether the configuration cache is enabled for the build. null if Gradle version is <6.6 or Develocity Gradle plugin version is <3.4. See https://docs.gradle.org/current/userguide/configuration_cache.html.

fileSystemWatchingEnabled

Indicates whether file system watching is enabled for the build. null if Gradle version is <6.6 or Develocity Gradle plugin version is <3.4. See https://docs.gradle.org/current/userguide/file_system_watching.html.