Class BuildModes_1_1

  • All Implemented Interfaces:
    com.gradle.scan.eventmodel.EventData
    Direct Known Subclasses:
    BuildModes_1_2

    @GradleVersion(since="3.1")
    @PluginVersion(since="1.3",
                   until="3.9")
    public class BuildModes_1_1
    extends BuildModes_1_0
    An EventData containing details of the Gradle build modes enabled (or not) for the build.

    An event stream will contain a single BuildModes_1_0.

    • Field Detail

      • taskOutputCache

        public final boolean taskOutputCache
        Whether the Task Output Cache was enabled for the build.
        See Also:
        Javadoc - StartParameter#isBuildCacheEnabled

        This will always be false for plugin version 3.10+. Use BuildCacheConfiguration_1_1#buildCacheEnabled instead.

    • Constructor Detail

      • BuildModes_1_1

        public BuildModes_1_1​(boolean refreshDependencies,
                              boolean parallelProjectExecution,
                              boolean rerunTasks,
                              boolean continuous,
                              boolean continueOnFailure,
                              boolean configureOnDemand,
                              boolean daemon,
                              boolean offline,
                              boolean dryRun,
                              int maxWorkers,
                              boolean taskOutputCache)