GradleBuildOptions

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

Gradle build options for this build.

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.

isolatedProjectsEnabled

Indicates whether the 'Isolated Projects' feature was enabled for the build. May be null if Gradle version is <8.3 or Develocity Gradle plugin version is <3.15. See https://docs.gradle.org/current/userguide/isolated_projects.html.

Constructors

Link copied to clipboard
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, @Json(name = "isolatedProjectsEnabled") isolatedProjectsEnabled: Boolean? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard