Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Rename file collection visitor type and visit method.

  1. … 33 more files in changeset.
Some refactoring of file collection visitor.

  1. … 19 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object, instead of an enum, in order to make the decision whether to visit a child collection or not.

Use this in dependency resolution to remove some special-casing for local dependency files.

  1. … 31 more files in changeset.
Rework visiting a `Configuration` so that its contents are treated as a sequence of collections, rather than a single monolithic collection of files. This will allow visitors such as continuous build or instant execution some finer-grained visibility into the contents of the `Configuration`.

In this commit, the collections do not carry any useful information and the granularity is per artifact, which is too fine-grained. Later commits will address this.

  1. … 27 more files in changeset.
Merge `FileCollection.registerWatchPoints()` into `visitLeafCollections()`, so that a visitor can optionally receive the 'spec' or definition for each participant in a file collection.

This will also later be used by instant execution to serialize some file collection participants as files and some as definitions.

  1. … 19 more files in changeset.
Allow a `FileCollection` visitor to skip visiting the output of artifact transforms, and use this when serializing file collections to the instant execution cache.

This is only intended to be a basic step towards allow visitors better control over what to visit and in what form to visit. In this step, the API is specific to artifact transforms but will be made more general in later changes.

  1. … 22 more files in changeset.
Change `FileCollection` implementations so that they all expose their task dependencies via `TaskDependencyContainer` rather than a mix of `Buildable` and `TaskDependencyContainer`.

  1. … 15 more files in changeset.
Refine the API for visiting the leaves of a FileCollection, so that a visitor does not have to recreate a FileTree from its root directory and set of patterns, but can instead use the original instance.

  1. … 8 more files in changeset.
Revert "Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers""

This reverts commit 669ec8c0211ad7e36ec4a91921e2da5da8619bef.

    • -0
    • +178
  1. … 324 more files in changeset.
Revert "Merge pull request #9840 from gradle/lptr/files/simplify-file-matchers"

This reverts commit 72dc39d9784910196e7840ac35317bc46ef4c4a1, reversing

changes made to 69ffd7ea87b343cb6f0f03b947b7605a5bea02b1.

  1. … 324 more files in changeset.
Rename :files project to :file-collections

    • -0
    • +178
  1. … 243 more files in changeset.