CompositeFileCollectionSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix mapping the contents of a `FileTree` that contains a file (rather than a directory) as a root to an Ant `FileSet`.

This fixes the Checkstyle task when source files are added directly to the task sources.

    • -338
    • +0
    ./CompositeFileCollectionSpec.groovy
  1. … 15 more files in changeset.
Fix mapping the contents of a `FileTree` that contains a file (rather than a directory) as a root to an Ant `FileSet`.

This fixes the Checkstyle task when source files are added directly to the task sources.

    • -338
    • +0
    ./CompositeFileCollectionSpec.groovy
  1. … 15 more files in changeset.
Fix mapping the contents of a `FileTree` that contains a file (rather than a directory) as a root to an Ant `FileSet`.

This fixes the Checkstyle task when source files are added directly to the task sources.

    • -338
    • +0
    ./CompositeFileCollectionSpec.groovy
  1. … 14 more files in changeset.
Fix mapping the contents of a `FileTree` that contains a file (rather than a directory) as a root to an Ant `FileSet`.

This fixes the Checkstyle task when source files are added directly to the task sources.

    • -338
    • +0
    ./CompositeFileCollectionSpec.groovy
  1. … 14 more files in changeset.
Fix mapping the contents of a `FileTree` that contains a file (rather than a directory) as a root to an Ant `FileSet`.

This fixes the Checkstyle task when source files are added directly to the task sources.

    • -338
    • +0
    ./CompositeFileCollectionSpec.groovy
  1. … 14 more files in changeset.
Fix mapping the contents of a `FileTree` that contains a file (rather than a directory) as a root to an Ant `FileSet`.

This fixes the Checkstyle task when source files are added directly to the task sources.

    • -338
    • +0
    ./CompositeFileCollectionSpec.groovy
  1. … 15 more files in changeset.
Tests for previous commit.

  1. … 5 more files in changeset.
Tests for previous commit.

  1. … 5 more files in changeset.
Fix the `jar` task with instant execution when the classes output directory does not exist when writing the instant execution cache.

More generally, do not ignore input directories for archive tasks which did not exist when the instant execution cache was written.

  1. … 9 more files in changeset.
Fix the `jar` task with instant execution when the classes output directory does not exist when writing the instant execution cache.

More generally, do not ignore input directories for archive tasks which did not exist when the instant execution cache was written.

  1. … 9 more files in changeset.
Rename file collection visitor type and visit method.

  1. … 33 more files in changeset.
Rename file collection visitor type and visit method.

  1. … 33 more files in changeset.
Rename file collection visitor type and visit method.

  1. … 33 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

  1. … 25 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

  1. … 25 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

  1. … 25 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

  1. … 25 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

  1. … 25 more files in changeset.
Fixes for previous commit.

  1. … 4 more files in changeset.
Fixes for previous commit.

  1. … 4 more files in changeset.
Fixes for previous commit.

  1. … 13 more files in changeset.
Fixes for previous commit.

  1. … 13 more files in changeset.
Treat the artifacts produced for a local file dependency and those produced for other kinds of dependencies more similarly, when visiting the result.

Specifically, merge `ArtifactVisitor.visitFile()` into `ArtifactVisitor.visitArtifact()`, so that now all files/artifacts that participate in the resolution result are represented as a `ResolvableArtifact`.

  1. … 34 more files in changeset.
Treat the artifacts produced for a local file dependency and those produced for other kinds of dependencies more similarly, when visiting the result.

Specifically, merge `ArtifactVisitor.visitFile()` into `ArtifactVisitor.visitArtifact()`, so that now all files/artifacts that participate in the resolution result are represented as a `ResolvableArtifact`.

  1. … 34 more files in changeset.
Decouple leaf visitor from FileTreeInternal

  1. … 9 more files in changeset.
Rename FileCollectionVisitor to FileCollectionLeafVisitor

Better naming should clarify what the visitor is supposed to do.

  1. … 13 more files in changeset.
Use the same `FileCollectionSnapshotter` implementation for both declared and discovered input files.

    • -1
    • +25
    ./CompositeFileCollectionSpec.groovy
  1. … 18 more files in changeset.
Renamed TaskDependencyContainer.resolve() to visitDependencies().

    • -12
    • +12
    ./CompositeFileCollectionSpec.groovy
  1. … 26 more files in changeset.
Renamed FileCollectionContainer.resolve() to visitContents()

    • -14
    • +14
    ./CompositeFileCollectionSpec.groovy
  1. … 25 more files in changeset.
Some simplification for how the task dependencies of CompositeFileCollection subtypes are handled. Also separated visiting the task dependencies from visiting the content, so that the content does not need to be created in order to calculate the dependencies (eg when the content cannot be calculated until after the dependencies have completed).

    • -4
    • +228
    ./CompositeFileCollectionSpec.groovy
  1. … 12 more files in changeset.