DefaultCopySpecResolutionTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

    • -21
    • +20
    ./DefaultCopySpecResolutionTest.groovy
  1. … 41 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

    • -21
    • +20
    ./DefaultCopySpecResolutionTest.groovy
  1. … 41 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

    • -21
    • +20
    ./DefaultCopySpecResolutionTest.groovy
  1. … 41 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

    • -21
    • +20
    ./DefaultCopySpecResolutionTest.groovy
  1. … 41 more files in changeset.
Fail on duplicates when creating archives by default

    • -3
    • +3
    ./DefaultCopySpecResolutionTest.groovy
  1. … 3 more files in changeset.
Fail on duplicates when creating archives by default

    • -3
    • +3
    ./DefaultCopySpecResolutionTest.groovy
  1. … 3 more files in changeset.
Allow the services required by a given class to be queried prior to creating any instances of that class. Use this to allow `ArtifactTransformDependencies` to be injected into artifact transforms using any of the service injection patterns (that is, via a constructor or a getter).

    • -1
    • +1
    ./DefaultCopySpecResolutionTest.groovy
  1. … 127 more files in changeset.
Replace most direct usages of `DirectInstantiator` with indirect usages via `InstantiatorFactory` or test fixtures instead. This means more consistent behaviour in unit tests because the objects under test will behave more similarly to how they do at runtime. This also allows the decision of how the instantiation should behave to live in as few places as possible, so this can be more easily evolved and contextualized.

    • -2
    • +2
    ./DefaultCopySpecResolutionTest.groovy
  1. … 60 more files in changeset.
Got rid of the last of the `@RunWith(JMock)`

    • -148
    • +135
    ./DefaultCopySpecResolutionTest.groovy
  1. … 15 more files in changeset.
Add missing Action<T> overloads to FileTree

Note that FileTree#matching now as three overloads:

- FileTree#matching(Closure)

- FileTree#matching(Action<PatternFilterable>)

- FileTree#matching(PatternFilterable)

See gradle/gradle-script-kotlin#126

    • -1
    • +2
    ./DefaultCopySpecResolutionTest.groovy
  1. … 5 more files in changeset.
Manage creation of most PatternSet instances

- use managed CachingPatternSpecFactory instance for

these PatternSet instances

+review REVIEW-5627

    • -1
    • +8
    ./DefaultCopySpecResolutionTest.groovy
  1. … 37 more files in changeset.
Add getFileSystemRoots() to the internal file collection interface.

+review REVIEW-5481

    • -3
    • +3
    ./DefaultCopySpecResolutionTest.groovy
  1. … 33 more files in changeset.
Make DirectInstantiator a singleton.

    • -1
    • +1
    ./DefaultCopySpecResolutionTest.groovy
  1. … 89 more files in changeset.
Simplify ClassLoaderScope.

- Allow attaching of arbitrary classloaders (supports graphs instead of just trees)

- Remove “base” concept

    • -1
    • +1
    ./DefaultCopySpecResolutionTest.groovy
  1. … 47 more files in changeset.
checkstyle/codenarc

    • -9
    • +9
    ./DefaultCopySpecResolutionTest.groovy
  1. … 3 more files in changeset.
formatting

    • -2
    • +0
    ./DefaultCopySpecResolutionTest.groovy
introduced CopySpecResolver: checkpoint

    • -0
    • +325
    ./DefaultCopySpecResolutionTest.groovy
  1. … 19 more files in changeset.