TaskDependencyInferenceIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.

    • -4
    • +4
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 9 more files in changeset.
Added `getLocationOnly()` to file system properties, to provide lazy access to just the location of the file system element, rather than both the location and the content of the file system element.

This can be used when mapping the location of a task output to produce an input to some other task, without implying a dependency on the producing task. For example, an IDE project file generation task may need to know where some output will end up (so need to know its location) but does not use the content of the output.

    • -0
    • +40
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 9 more files in changeset.
Added `getLocationOnly()` to file system properties, to provide lazy access to just the location of the file system element, rather than both the location and the content of the file system element.

This can be used when mapping the location of a task output to produce an input to some other task, without implying a dependency on the producing task. For example, an IDE project file generation task may need to know where some output will end up (so need to know its location) but does not use the content of the output.

    • -0
    • +40
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 9 more files in changeset.
Added `getLocationOnly()` to file system properties, to provide lazy access to just the location of the file system element, rather than both the location and the content of the file system element.

This can be used when mapping the location of a task output to produce an input to some other task, without implying a dependency on the producing task. For example, an IDE project file generation task may need to know where some output will end up (so need to know its location) but does not use the content of the output.

    • -0
    • +40
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 9 more files in changeset.
Added `getLocationOnly()` to file system properties, to provide lazy access to just the location of the file system element, rather than both the location and the content of the file system element.

This can be used when mapping the location of a task output to produce an input to some other task, without implying a dependency on the producing task. For example, an IDE project file generation task may need to know where some output will end up (so need to know its location) but does not use the content of the output.

    • -0
    • +40
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 9 more files in changeset.
Added `getLocationOnly()` to file system properties, to provide lazy access to just the location of the file system element, rather than both the location and the content of the file system element.

This can be used when mapping the location of a task output to produce an input to some other task, without implying a dependency on the producing task. For example, an IDE project file generation task may need to know where some output will end up (so need to know its location) but does not use the content of the output.

    • -0
    • +40
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 9 more files in changeset.
Added `getLocationOnly()` to file system properties, to provide lazy access to just the location of the file system element, rather than both the location and the content of the file system element.

This can be used when mapping the location of a task output to produce an input to some other task, without implying a dependency on the producing task. For example, an IDE project file generation task may need to know where some output will end up (so need to know its location) but does not use the content of the output.

    • -0
    • +40
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 9 more files in changeset.
Added `getLocationOnly()` to file system properties, to provide lazy access to just the location of the file system element, rather than both the location and the content of the file system element.

This can be used when mapping the location of a task output to produce an input to some other task, without implying a dependency on the producing task. For example, an IDE project file generation task may need to know where some output will end up (so need to know its location) but does not use the content of the output.

    • -0
    • +40
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 9 more files in changeset.
Added `getLocationOnly()` to file system properties, to provide lazy access to just the location of the file system element, rather than both the location and the content of the file system element.

This can be used when mapping the location of a task output to produce an input to some other task, without implying a dependency on the producing task. For example, an IDE project file generation task may need to know where some output will end up (so need to know its location) but does not use the content of the output.

    • -0
    • +40
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 9 more files in changeset.
Add some test coverage.

    • -1
    • +25
    ./TaskDependencyInferenceIntegrationTest.groovy
WIP

    • -19
    • +105
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 11 more files in changeset.
WIP

    • -19
    • +105
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 11 more files in changeset.
WIP

    • -19
    • +105
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 11 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -99
    • +174
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -99
    • +174
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -79
    • +44
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 15 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -99
    • +174
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -99
    • +174
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -79
    • +44
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 15 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -99
    • +174
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -99
    • +174
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -99
    • +174
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -79
    • +44
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 15 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -99
    • +174
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 28 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -99
    • +174
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 28 more files in changeset.
Avoid querying each task input property in order to check whether it may have task dependencies. Instead, do this only for `Provider` properties.

Move some test utility methods out of the artifact transform tests into a more general place, and reuse in some of the task dependency inference tests.

    • -103
    • +32
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 8 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

    • -0
    • +36
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 3 more files in changeset.
Fix task dependency inference when a mapped task output file `Property` is used as input to an `@Input` on another task.

    • -0
    • +36
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 3 more files in changeset.
Change `ObjectFactory` to create collection and map properties whose initial value is an empty collection or map, and add a `convention()` method for collection properties. The "convention" for a property is the value to use when none has been explicitly specified for the property. This changes adds this for collection properties for now. It will be added for all lazy types later.

    • -1
    • +1
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 30 more files in changeset.
Ensure that exceptions thrown by various build event actions and listeners are reported on the console and cause the build to fail.

Previously, failures thrown by `BuildListener`, `TaskExecutionGraphListener` and `ProjectEvaluationListener` listeners and also by `Action` instances passed to `taskGraph.whenReady()` would be ignored.

    • -3
    • +20
    ./TaskDependencyInferenceIntegrationTest.groovy
  1. … 4 more files in changeset.