testFixtures

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use visitor when snapshotting FileCollections

In many places when resolving and walking nested file collections we collect files into Sets. This is expensive because we have to de-duplicate the files. In many cases de-duplication doesn't need to happen, or it can happen only on the top level. In these cases visiting instead of collecting is a much better alternative.

This commit is a first step towards using more visitors. It introduces FileCollectionInternal.visitContents(Consumer<File>) and uses it in file snapshotting.

  1. … 8 more files in changeset.
Special case the isolation for generated `Named` types, to make this faster for variant selecting.

  1. … 29 more files in changeset.
Special case the isolation for generated `Named` types, to make this faster for variant selecting.

  1. … 29 more files in changeset.
Split the `ValueSnapshot` and `Isolatable<T>` implementations for list, set, array and map types, so that not every `Isolatable` implementation must also implement `ValueSnapshot` if it doesn't make sense.

  1. … 35 more files in changeset.
Split the `ValueSnapshot` and `Isolatable<T>` implementations for list, set, array and map types, so that not every `Isolatable` implementation must also implement `ValueSnapshot` if it doesn't make sense.

  1. … 35 more files in changeset.
Allow an artifact transform to receive a strongly typed configuration object, as an injected service.

  1. … 15 more files in changeset.
Move package org.gradle.internal.snapshot to snapshots project

  1. … 56 more files in changeset.