Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Do not fail when writing an artifact transform that takes the upstream dependencies of the artifact to the instant execution cache.

In this change, the result will be incorrect because an empty set of dependencies is passed to the transform action when it is loaded from the cache.

    • -2
    • +0
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
    • -4
    • +3
    ./resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy
  1. … 8 more files in changeset.
Do not fail when writing an artifact transform that takes the upstream dependencies of the artifact to the instant execution cache.

In this change, the result will be incorrect because an empty set of dependencies is passed to the transform action when it is loaded from the cache.

    • -2
    • +0
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
    • -4
    • +3
    ./resolve/transform/ArtifactTransformWithDependenciesIntegrationTest.groovy
  1. … 8 more files in changeset.
Fix for previous commit.

    • -2
    • +0
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
    • -3
    • +0
    ./resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy
Fix for previous commit.

    • -1
    • +0
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
    • -1
    • +0
    ./resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy
Serialize the parameters of an artifact transform to the instant execution cache, rather than attempting to isolate the parameters and then serializing the result.

This allows the parameters to include files and other inputs that may need to be built before they can be queried, for example when the output of some transform is used as an input parameter to another transform (which is something different to chaining of several transforms to produce an output). An implication of this change is that the artifact parameter isolation now happens every time the cache is reused, whereas previously the isolation happened once on write. This can be improved later.

    • -3
    • +0
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
    • -4
    • +0
    ./resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy
  1. … 10 more files in changeset.
Serialize the parameters of an artifact transform to the instant execution cache, rather than attempting to isolate the parameters and then serializing the result.

This allows the parameters to include files and other inputs that may need to be built before they can be queried, for example when the output of some transform is used as an input parameter to another transform (which is something different to chaining of several transforms to produce an output). An implication of this change is that the artifact parameter isolation now happens every time the cache is reused, whereas previously the isolation happened once on write. This can be improved later.

    • -3
    • +0
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
    • -4
    • +0
    ./resolve/transform/ArtifactTransformWithFileInputsIntegrationTest.groovy
  1. … 10 more files in changeset.
Treat single version ranges as "required"

This commit changes the way Gradle handles single version

ranges to treat them like Maven does: they are effectively

"exact" version selectors (not strictly).

Fixes #11185

    • -9
    • +0
    ./resolve/ivy/IvyDynamicRevisionResolveIntegrationTest.groovy
    • -1
    • +1
    ./resolve/maven/MavenVersionRangeResolveIntegrationTest.groovy
  1. … 3 more files in changeset.
Treat single version ranges as "required"

This commit changes the way Gradle handles single version

ranges to treat them like Maven does: they are effectively

"exact" version selectors (not strictly).

Fixes #11185

    • -9
    • +0
    ./resolve/ivy/IvyDynamicRevisionResolveIntegrationTest.groovy
    • -1
    • +1
    ./resolve/maven/MavenVersionRangeResolveIntegrationTest.groovy
  1. … 5 more files in changeset.
Treat single version ranges as "required"

This commit changes the way Gradle handles single version

ranges to treat them like Maven does: they are effectively

"exact" version selectors (not strictly).

Fixes #11185

    • -9
    • +0
    ./resolve/ivy/IvyDynamicRevisionResolveIntegrationTest.groovy
    • -1
    • +1
    ./resolve/maven/MavenVersionRangeResolveIntegrationTest.groovy
  1. … 5 more files in changeset.
Mark tests as failing with instant execution

    • -0
    • +1
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +1
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
Mark tests as failing with instant execution

    • -0
    • +1
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +1
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
Mark tests as failing with instant execution

    • -0
    • +1
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +1
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
Mark tests as failing with instant execution

    • -0
    • +1
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +1
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
Mark tests as failing with instant execution

    • -0
    • +1
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +1
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +72
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +35
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
  1. … 10 more files in changeset.
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +72
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +35
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
  1. … 10 more files in changeset.
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +71
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +35
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
  1. … 10 more files in changeset.
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +72
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +35
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
  1. … 10 more files in changeset.
Add API to disable dependency verification

This commit adds an API to disable verification on a specific

configuration (using `resolutionStrategy.disableDependencyVerification`.

This would let tasks which perform special dependency resolution (like

checking newer versions of dependencies) to pass even if dependency

verification is enabled.

    • -0
    • +71
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
    • -0
    • +35
    ./resolve/verification/DependencyVerificationWritingIntegTest.groovy
  1. … 10 more files in changeset.
Add ignore key test coverage and bump wrapper

    • -0
    • +75
    ./resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy
  1. … 1 more file in changeset.
Add ignore key test coverage and bump wrapper

    • -0
    • +75
    ./resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy
  1. … 1 more file in changeset.
More test coverage + fixes for tests.

    • -1
    • +40
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
  1. … 4 more files in changeset.
Fix for transform service inject.

    • -1
    • +1
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
  1. … 3 more files in changeset.
Allow various Gradle services to be injected into artifact transform actions.

    • -0
    • +49
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
  1. … 7 more files in changeset.
Allow various Gradle services to be injected into artifact transform actions.

    • -1
    • +89
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
  1. … 14 more files in changeset.
Allow various Gradle services to be injected into artifact transform actions.

    • -1
    • +89
    ./resolve/transform/ArtifactTransformValuesInjectionIntegrationTest.groovy
  1. … 14 more files in changeset.
Update the error message to link to the docs

    • -2
    • +7
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 5 more files in changeset.
Update the error message to link to the docs

    • -2
    • +7
    ./resolve/verification/DependencyVerificationIntegrityCheckIntegTest.groovy
  1. … 5 more files in changeset.
Verify checksums for artifacts which declare them even if signature passes

This is done because signatures are done on the hash of artifacts and

not on the artifact contents itself, so if you want to ensure both

integrity and provenance, you need to check both.

    • -0
    • +33
    ./resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy
  1. … 1 more file in changeset.
Verify checksums for artifacts which declare them even if signature passes

This is done because signatures are done on the hash of artifacts and

not on the artifact contents itself, so if you want to ensure both

integrity and provenance, you need to check both.

    • -0
    • +33
    ./resolve/verification/DependencyVerificationSignatureCheckIntegTest.groovy
  1. … 1 more file in changeset.