Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for rebuildReasons (0.17 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/IncrementalChangesContext.java

        private final ImmutableList<String> rebuildReasons;
        private final ExecutionStateChanges executionStateChanges;
    
        public IncrementalChangesContext(
            ValidationFinishedContext parent,
            ImmutableList<String> rebuildReasons,
            @Nullable ExecutionStateChanges executionStateChanges
        ) {
            super(parent);
            this.rebuildReasons = rebuildReasons;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 17:10:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/ResolveChangesStepTest.groovy

            1 * delegate.execute(work, _ as IncrementalChangesContext) >> { UnitOfWork work, IncrementalChangesContext delegateContext ->
                def changes = delegateContext.changes.get()
                assert delegateContext.rebuildReasons == ImmutableList.of("Forced rebuild.")
                assert !changes.createInputChanges().incremental
                return delegateResult
            }
            _ * context.nonIncrementalReason >> Optional.of("Forced rebuild.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/DefaultExecutionStateChangeDetector.java

                inputFilePropertyChanges,
                nonIncrementalInputFileChanges
            ));
            ImmutableList<String> rebuildReasons = collectChanges(rebuildTriggeringChanges);
    
            if (!rebuildReasons.isEmpty()) {
                return ExecutionStateChanges.nonIncremental(
                    rebuildReasons,
                    thisExecution,
                    incrementalInputProperties
                );
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SkipUpToDateStepTest.groovy

            then:
            result.execution.get().outcome == UP_TO_DATE
            !result.executionReasons.present
    
            _ * context.changes >> Optional.of(changes)
            _ * context.rebuildReasons >> ImmutableList.of()
            _ * context.previousExecutionState >> Optional.of(Stub(PreviousExecutionState) {
                getOutputFilesProducedByWork() >> ImmutableSortedMap.of()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/changes/DefaultTaskExecutionMode.java

        private final Optional<String> rebuildReason;
        private final boolean taskHistoryMaintained;
        private final boolean allowedToUseCachedResults;
    
        DefaultTaskExecutionMode(@Nullable String rebuildReason, boolean taskHistoryMaintained, boolean allowedToUseCachedResults) {
            this.rebuildReason = Optional.ofNullable(rebuildReason);
            this.taskHistoryMaintained = taskHistoryMaintained;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 04 07:36:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/steps/ResolveChangesStep.java

                .orElseGet(() -> {
                    ImmutableList<String> rebuildReason = context.getNonIncrementalReason()
                        .map(ImmutableList::of)
                        .orElse(UNTRACKED);
                    return new IncrementalChangesContext(context, rebuildReason, null);
                });
    
            return delegate.execute(work, delegateContext);
        }
    
        @Nonnull
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 17:10:38 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top