CachingTaskInputFileCollectionTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixes for previous commit.

    • -3
    • +2
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 16 more files in changeset.
Fixes for previous commit.

    • -3
    • +2
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 16 more files in changeset.
Fixes for previous commit.

    • -3
    • +2
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 16 more files in changeset.
Introduce a factory service to create instances of `TaskDependency`, to allow the implementations to be contextualized and to use types that aren't part of the (internal) core API.

Use this factory in `DefaultConfigurableFileCollection`.

    • -3
    • +2
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 39 more files in changeset.
Introduce a factory service to create instances of `TaskDependency`, to allow the implementations to be contextualized and to use types that aren't part of the (internal) core API.

Use this factory in `DefaultConfigurableFileCollection`.

    • -3
    • +2
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 39 more files in changeset.
Remove special case `CachingTaskInputFileCollection` implementation, as a regular `ConfigurableFileCollection` can now be used for this instead.

    • -86
    • +0
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 3 more files in changeset.
Remove special case `CachingTaskInputFileCollection` implementation, as a regular `ConfigurableFileCollection` can now be used for this instead.

    • -86
    • +0
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 5 more files in changeset.
Remove special case `CachingTaskInputFileCollection` implementation, as a regular `ConfigurableFileCollection` can now be used for this instead.

    • -86
    • +0
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 3 more files in changeset.
Use regular FileCollection for AbstractNativeCompileTask.source

Don't use a special caching file collection.

    • -86
    • +0
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 4 more files in changeset.
Move more things to properties package

    • -1
    • +1
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 35 more files in changeset.
Moved the some `FileCollection` implementations for efficiently handling task file inputs out of the native plugins and behind the `TaskFileVarFactory` service, where they can be reused, at least internally for now.

There are 2 implementations which are intended to be used for task input properties: a `ConfigurableFileCollection` that allows build logic to configure a bunch of input files, such as C/C++ source files, and a `FileCollection` that represents some task inputs that are calculated from other inputs, such as the headers of a C/C++ compile task. Both implementations do some in-memory caching during task execution to make snapshotting and task action execution faster.

Improved the implementations a little and added some unit test coverage. The implementations could be further improved, reused in a bunch more places and better integrated into input file snapshotting. This change does just enough so they can be used in the native compile tasks need.

    • -0
    • +86
    ./CachingTaskInputFileCollectionTest.groovy
  1. … 14 more files in changeset.