DefaultFileCollectionResolveContextTest.groovy

Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Separate out some shared behaviour from the `FileCollectionResolveContext` implementations.

Apply this shared behaviour only to those file collections that need to resolve arbitrary user provided paths, and simplify the contract for `FileCollectionResolveContext`.

    • -173
    • +8
    ./DefaultFileCollectionResolveContextTest.groovy
  1. … 18 more files in changeset.
Separate out some shared behaviour from the `FileCollectionResolveContext` implementations.

Apply this shared behaviour only to those file collections that need to resolve arbitrary user provided paths, and simplify the contract for `FileCollectionResolveContext`.

    • -173
    • +8
    ./DefaultFileCollectionResolveContextTest.groovy
  1. … 19 more files in changeset.
Consistently show file changes for single root file in Gradle Enterprise (#7422)

* Snapshot SingletonFileTree as RegularFileSnapshot

- extract SingletonFileTree as interface

- rename SingletonFileTree to DefaultSingletonFileTree

- rename MapFileTree to GeneratedSingletonFileTree

- GeneratedSingletonFileTree only accepts one file (as its only used for one file so far)

- add coverage for archives

    • -3
    • +3
    ./DefaultFileCollectionResolveContextTest.groovy
  1. … 22 more files in changeset.
Move file collection APIs out of core (#6525)

This change breaks out code that directly relates to handling `FileCollection`s and their build dependencies (called `TaskDependency` at this time) into a separate subproject (`:files`). This is so that other modules can build on just this module instead of having to depend on the oversized `:core`.

As part of the change `Provider`s have been moved to `:base-services`. In a possible followup step `:base-services` could be split into a module that captures the very basic concepts of Gradle's data model: it's all about `DomainObjectCollection`s that can be configured via `Action`s, transformed via `Transformer`s, lazyness can be provided via `Provider`s and rich mutable data types can be created via `Property` objects.

Another addition to `:base-serivces` is the directed graph traversal algorithms used in many parts of Gradle.

    • -0
    • +464
    ./DefaultFileCollectionResolveContextTest.groovy
  1. … 443 more files in changeset.