Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce an API for variant dependency substitution

This commit introduces a new API to deal with _variant-aware_ dependency

substitution. Before this change, it wasn't possible to substitute a

dependency on a platform, for example. This change allows configuring

the attributes of a dependency, both on the "source" side (what dependency

we need to substitute) and the "target" side (what dependency is going to

be used instead).

Some DSL short-hand notations are added for common use cases.

Fixes #13204

    • -0
    • +143
    ./org/gradle/integtests/resolve/VariantsDependencySubstitutionRulesIntegrationTest.groovy
  1. … 19 more files in changeset.
Fix for previous commit.

  1. … 1 more file in changeset.
Reuse the logic that calculates the files and producer tasks of the various views of a `Configuration` to calculate the files and producer tasks for the artifact dependencies injected into an artifact transform. This change ensures that the artifact dependencies will be correctly serialized to the configuration cache.

  1. … 8 more files in changeset.
Serialize `Transform.fromAttributes` to the configuration cache

  1. … 6 more files in changeset.
DSL tweaks

  1. … 3 more files in changeset.
DSL tweaks

  1. … 3 more files in changeset.
Fix merge problem.

Remove @ToBeFixedForInstantExecution on DefaultArtifactCacheLockingManagerIntegrationTest

by using :help in lieu of :tasks

Signed-off-by: Paul Merlin <paul@gradle.com>

Remove @ToBeFixedForInstantExecution on DefaultArtifactCacheLockingManagerIntegrationTest

by using :help in lieu of :tasks

Signed-off-by: Paul Merlin <paul@gradle.com>

Remove @ToBeFixedForInstantExecution on ArtifactTransformCachingIntegrationTest

by using :help in lieu of :tasks

Signed-off-by: Paul Merlin <paul@gradle.com>

Remove @ToBeFixedForInstantExecution on ArtifactTransformCachingIntegrationTest

by using :help in lieu of :tasks

Signed-off-by: Paul Merlin <paul@gradle.com>

Test fixes for strictness.

Test fixes for strictness.

  1. … 3 more files in changeset.
Test fixes for strictness.

Test fixes for strictness.

Test fixes for strictness.

  1. … 3 more files in changeset.
Test fixes for strictness.

  1. … 3 more files in changeset.
Test fixes for strictness.

Test fixes for strictness.

Test fixes for strictness.

  1. … 9 more files in changeset.
Test fixes for strictness.

  1. … 9 more files in changeset.
Integrate review suggestions

Issue #13050

  1. … 5 more files in changeset.
Integrate review suggestions

Issue #13050

  1. … 5 more files in changeset.
Integrate review suggestions

Issue #13050

  1. … 5 more files in changeset.
Integrate review suggestions

Issue #13050

  1. … 5 more files in changeset.
Integrate review suggestions

Issue #13050

  1. … 5 more files in changeset.
Update behaviour for exclude upper bound in range

The upper bound of a version range, when it is an exclusion, now acts as

a smart prefix. Versions that were excluded before remain excluded. In

addition, versions that start with the upper bound are also excluded.

This resolves the unexpected case where 2.0-dev1 is included when the

upper bound is 2.0[.

Fixes #13050

  1. … 7 more files in changeset.
Update behaviour for exclude upper bound in range

The upper bound of a version range, when it is an exclusion, now acts as

a smart prefix. Versions that were excluded before remain excluded. In

addition, versions that start with the upper bound are also excluded.

This resolves the unexpected case where 2.0-dev1 is included when the

upper bound is 2.0[.

Fixes #13050

  1. … 7 more files in changeset.
Fix test for instant execution

Change `AbstractIntegrationSpec` to fail when a test runs a build that fails with more than one exception and does not verify the number of exceptions in the failure using `assertHasFailures()`.

This is to avoid additional exceptions unintentionally being introduced, for example when a failure starts being thrown because of configuration cache problems alongside the expected failure.

  1. … 67 more files in changeset.