FileCollectionIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Change the implementation of `ConfigurableFileCollection.finalizeValue()` so that only the locations are finalized, not the set of files.

For example, when a collection contains a `FileTree` that is backed by a directory, then changes to the directory are reflected in the contents of the collection. In this way, a finalized file collection is basically a finalized set of file system roots, not a finalized set of files.

    • -38
    • +0
    ./FileCollectionIntegrationTest.groovy
  1. … 4 more files in changeset.
Change the implementation of `ConfigurableFileCollection.finalizeValue()` so that only the locations are finalized, not the set of files.

For example, when a collection contains a `FileTree` that is backed by a directory, then changes to the directory are reflected in the contents of the collection. In this way, a finalized file collection is basically a finalized set of file system roots, not a finalized set of files.

    • -38
    • +0
    ./FileCollectionIntegrationTest.groovy
  1. … 4 more files in changeset.
Change the implementation of `ConfigurableFileCollection.finalizeValue()` so that only the locations are finalized, not the set of files.

For example, when a collection contains a `FileTree` that is backed by a directory, then changes to the directory are reflected in the contents of the collection. In this way, a finalized file collection is basically a finalized set of file system roots, not a finalized set of files.

    • -38
    • +0
    ./FileCollectionIntegrationTest.groovy
  1. … 4 more files in changeset.
Remove FileCollection.add

#6273

    • -26
    • +0
    ./FileCollectionIntegrationTest.groovy
  1. … 6 more files in changeset.
Remove AbstractFileCollection.getBuildDependencies()

#6271

    • -17
    • +0
    ./FileCollectionIntegrationTest.groovy
  1. … 1 more file in changeset.
Remove FileCollection.asType()

#6270

    • -49
    • +0
    ./FileCollectionIntegrationTest.groovy
  1. … 4 more files in changeset.
Remove FileCollection.stopExecutionIfEmpty()

#6269

    • -13
    • +0
    ./FileCollectionIntegrationTest.groovy
  1. … 5 more files in changeset.
Deprecation progress events are enriched to allow better visualisation (#6034)

Update deprecation model; tweak deprecation messages

* some renamings in feature usage

* introduce feature usage type

* introduce contextual advice for deprecation messages

    • -1
    • +1
    ./FileCollectionIntegrationTest.groovy
  1. … 28 more files in changeset.
Expose deprecation warning messages and stacktraces via build operations (#5881)

Expose deprecation warnings as operation progress events

- introduce split of message, warning and advice

- make deprecation progress events immutable

- rework deprecation handling/messages to support more a richer model

- update build operation progress model

- tweak existing deprecation warnings to match new model

- Add performance test + make stacktrace calculation for build ops lazy

- Always include a trace with FeatureUsage now that its always required

    • -5
    • +5
    ./FileCollectionIntegrationTest.groovy
  1. … 65 more files in changeset.
Include class name in deprecation message

If not, it is not clear that a third party plugin extended

AbstractFileCollection and it looks like it is a problem with

Gradle core.

    • -1
    • +1
    ./FileCollectionIntegrationTest.groovy
  1. … 1 more file in changeset.
Better deprecation message

    • -0
    • +17
    ./FileCollectionIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix incorrect type name

    • -1
    • +1
    ./FileCollectionIntegrationTest.groovy
  1. … 1 more file in changeset.
Integrate review feedback

    • -0
    • +26
    ./FileCollectionIntegrationTest.groovy
  1. … 5 more files in changeset.
Deprecate FileCollection.stopExecutionIfEmpty()

    • -0
    • +13
    ./FileCollectionIntegrationTest.groovy
  1. … 3 more files in changeset.
Deprecate FileCollection.asType()

The method was used to add some special conversions for `FileCollection` in Groovy. In an attempt to remove Groovy-specific functionality from public API the method is now deprecated. The type conversions, while not widely used to start with, will mostly keep working because `FileCollection` implements `Iterable<File>` which Groovy know how to convert to other collections.

    • -0
    • +87
    ./FileCollectionIntegrationTest.groovy
  1. … 4 more files in changeset.