AbstractIncrementalTasksIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix AbstractIncrementalTasksIntegrationTest

    • -0
    • +4
    ./AbstractIncrementalTasksIntegrationTest.groovy
Address review feedback

    • -7
    • +4
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 5 more files in changeset.
Address review feedback

    • -8
    • +4
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 5 more files in changeset.
Deprecate declaring incremental tasks with no outputs

An incremental task should always declare an output. Gradle

automatically declared an upToDate spec for incremental tasks to make

sure this is always the case.

Actually, the implementor of the task should add the spec if the task

does not declare any outputs. We expect nearly all incremental tasks

to already declare outputs.

#9723

    • -0
    • +7
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 7 more files in changeset.
Deprecate declaring incremental tasks with no outputs

An incremental task should always declare an output. Gradle

automatically declared an upToDate spec for incremental tasks to make

sure this is always the case.

Actually, the implementor of the task should add the spec if the task

does not declare any outputs. We expect nearly all incremental tasks

to already declare outputs.

    • -0
    • +7
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 7 more files in changeset.
Deprecate declaring incremental tasks with no outputs

An incremental task should always declare an output. Gradle

automatically declared an upToDate spec for incremental tasks to make

sure this is always the case.

Actually, the implementor of the task should add the spec if the task

does not declare any outputs. We expect nearly all incremental tasks

to already declare outputs.

#9723

    • -0
    • +7
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 7 more files in changeset.
Move the tests around

    • -1
    • +1
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 63 more files in changeset.
Move the tests around

    • -1
    • +1
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 63 more files in changeset.
Todo

    • -20
    • +34
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 1 more file in changeset.
TODO

    • -20
    • +34
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 1 more file in changeset.
Change more tests.

    • -1
    • +1
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 40 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 98 more files in changeset.
Changed a bunch of integration tests to use the various task assertion methods instead of directly querying the `executedTasks` and `skippedTasks` collections. These methods can give better diagnostics when the assertion fails, and can perform additional checks.

    • -1
    • +1
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 98 more files in changeset.
Require lazy types for querying input changes

    • -1
    • +1
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 7 more files in changeset.
Require lazy types for querying input changes

    • -1
    • +1
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 7 more files in changeset.
Improve incremental input tests

    • -30
    • +44
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 3 more files in changeset.
Require incremental inputs to have a value

Instead of silently ignoring incremental inputs without a value, we now

fail when the work requires incremental execution.

    • -49
    • +4
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 6 more files in changeset.
SkipWhenEmpty should imply incremental

    • -2
    • +2
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 2 more files in changeset.
Require `@Incremental` for incremental inputs

Only properties annotated with `@Incremental` can be queried for

incremental changes. The other properties are considered

non-incremental and changes to those cause the unit of work run

non-incrementally.

    • -3
    • +6
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 37 more files in changeset.
Introduce FileChange in public API

This replaces `InputFileDetails` from the old incremental task API.

    • -2
    • +2
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 26 more files in changeset.
Move `InputChanges` to work package

    • -1
    • +1
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 13 more files in changeset.
Address review comments

    • -0
    • +423
    ./AbstractIncrementalTasksIntegrationTest.groovy
  1. … 5 more files in changeset.