DefaultArtifactTransformsTest.groovy

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

    • -2
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 33 more files in changeset.
Rename file collection visitor type and visit method.

    • -2
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 33 more files in changeset.
Rename file collection visitor type and visit method.

    • -2
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 33 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

    • -1
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 25 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

    • -1
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 25 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

    • -1
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 25 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

    • -1
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 25 more files in changeset.
Change file collection `visitLeafCollections()` so that visitor receives a 'source' object and `Iterable<File>` that describes a file collection, instead of a `FileCollection` instance.

Change visiting of the outputs of artifact transforms so that an empty collection is visited when its 'spec' is requested by the visitor. The 'source' object can be used to carry details about the output variant to the instant execution serializer.

    • -1
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 25 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.

    • -4
    • +1
    ./DefaultArtifactTransformsTest.groovy
  1. … 31 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.

    • -4
    • +1
    ./DefaultArtifactTransformsTest.groovy
  1. … 31 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.

    • -4
    • +1
    ./DefaultArtifactTransformsTest.groovy
  1. … 31 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.

    • -4
    • +1
    ./DefaultArtifactTransformsTest.groovy
  1. … 31 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.

    • -4
    • +1
    ./DefaultArtifactTransformsTest.groovy
  1. … 31 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.

    • -4
    • +1
    ./DefaultArtifactTransformsTest.groovy
  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
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 27 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
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 27 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
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 27 more files in changeset.
Treat the artifacts produced for a local file dependency and those produced for other kinds of dependencies more similarly, when visiting the result.

Specifically, merge `ArtifactVisitor.visitFile()` into `ArtifactVisitor.visitArtifact()`, so that now all files/artifacts that participate in the resolution result are represented as a `ResolvableArtifact`.

    • -12
    • +0
    ./DefaultArtifactTransformsTest.groovy
  1. … 34 more files in changeset.
Treat the artifacts produced for a local file dependency and those produced for other kinds of dependencies more similarly, when visiting the result.

Specifically, merge `ArtifactVisitor.visitFile()` into `ArtifactVisitor.visitArtifact()`, so that now all files/artifacts that participate in the resolution result are represented as a `ResolvableArtifact`.

    • -12
    • +0
    ./DefaultArtifactTransformsTest.groovy
  1. … 21 more files in changeset.
Treat the artifacts produced for a local file dependency and those produced for other kinds of dependencies more similarly, when visiting the result.

Specifically, merge `ArtifactVisitor.visitFile()` into `ArtifactVisitor.visitArtifact()`, so that now all files/artifacts that participate in the resolution result are represented as a `ResolvableArtifact`.

    • -12
    • +0
    ./DefaultArtifactTransformsTest.groovy
  1. … 21 more files in changeset.
Treat the artifacts produced for a local file dependency and those produced for other kinds of dependencies more similarly, when visiting the result.

Specifically, merge `ArtifactVisitor.visitFile()` into `ArtifactVisitor.visitArtifact()`, so that now all files/artifacts that participate in the resolution result are represented as a `ResolvableArtifact`.

    • -12
    • +0
    ./DefaultArtifactTransformsTest.groovy
  1. … 34 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.

    • -0
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 22 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.

    • -0
    • +2
    ./DefaultArtifactTransformsTest.groovy
  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.

    • -0
    • +2
    ./DefaultArtifactTransformsTest.groovy
  1. … 22 more files in changeset.
Introduce generic CacheableInvocation

    • -4
    • +4
    ./DefaultArtifactTransformsTest.groovy
  1. … 11 more files in changeset.
Optimize variant transform selection

This should reduce the amount of garbage created during

selection of artifact transforms.

    • -9
    • +13
    ./DefaultArtifactTransformsTest.groovy
  1. … 7 more files in changeset.
Optimize variant transform selection

This should reduce the amount of garbage created during

selection of artifact transforms.

    • -9
    • +13
    ./DefaultArtifactTransformsTest.groovy
  1. … 7 more files in changeset.
Remove some more duplicate code

    • -4
    • +4
    ./DefaultArtifactTransformsTest.groovy
  1. … 9 more files in changeset.
Remove some more duplicate code

    • -4
    • +4
    ./DefaultArtifactTransformsTest.groovy
  1. … 9 more files in changeset.
Remove some more duplicate code

    • -4
    • +4
    ./DefaultArtifactTransformsTest.groovy
  1. … 9 more files in changeset.