DefaultTaskDependencyTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removing a task dependency from a task instance is no longer supported (#10289)

    • -23
    • +10
    ./DefaultTaskDependencyTest.groovy
  1. … 2 more files in changeset.
Removing a task dependency from a task instance is no longer supported

    • -23
    • +10
    ./DefaultTaskDependencyTest.groovy
  1. … 2 more files in changeset.
Simplify how task input dependencies are discovered by `TaskInput`, so that the dependencies are visited instead of being added as artificial elements of the input file collection.

Also simplify the resolution of task dependencies provided by `TaskDependencyContainer` and `Provider` instances.

    • -16
    • +27
    ./DefaultTaskDependencyTest.groovy
  1. … 9 more files in changeset.
Simplify how task input dependencies are discovered by `TaskInput`, so that the dependencies are visited instead of being added as artificial elements of the input file collection.

Also simplify the resolution of task dependencies provided by `TaskDependencyContainer` and `Provider` instances.

    • -16
    • +27
    ./DefaultTaskDependencyTest.groovy
  1. … 8 more files in changeset.
Simplify how task input dependencies are discovered by `TaskInput`, so that the dependencies are visited instead of being added as artificial elements of the input file collection.

Also simplify the resolution of task dependencies provided by `TaskDependencyContainer` and `Provider` instances.

    • -16
    • +27
    ./DefaultTaskDependencyTest.groovy
  1. … 9 more files in changeset.
Rework task dependency inference so that `Provider` implementations use the same `TaskDependencyContainer` interface that most other things use to declare their producer task to the task resolution infrastructure, rather than having special knowledge sprinkled around various places.

Cleaned up a bunch of `Provider` and `Property` implementations so that more logic is reused rather than reimplemented.

    • -33
    • +17
    ./DefaultTaskDependencyTest.groovy
  1. … 30 more files in changeset.
Replace some special cases that are handled by `DefaultTaskDependency` with types that implement `TaskDependencyContainer` instead.

  1. … 8 more files in changeset.
Support propagation of the producer task for provider instances that are created using `Provider.map()`.

Now, when a provider represents a task or task output, whether mapped or not, that task is taken as the producer of the value and the mapping function is not called. Otherwise, the value of the provider is unpacked and resolved, as it previously was.

Rework the protocol by which providers communicate their build dependencies to consumers.

    • -26
    • +11
    ./DefaultTaskDependencyTest.groovy
  1. … 34 more files in changeset.
Move task dependency implementation and resolution types from 'files' to 'modelCore' project.

    • -0
    • +350
    ./DefaultTaskDependencyTest.groovy
  1. … 25 more files in changeset.