Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

    • -1
    • +1
    ./ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy
    • -1
    • +1
    ./constraints/DependencyConstraintsIntegrationTest.groovy
  1. … 71 more files in changeset.
No more absolute path in metadata cache

Reference to file are now relative to the root of the module cache

instead of being absolute.

This allows moving the full module cache around to be reused with

a different root path.

The path are also normalized, so that they are portable across systems

where the name separator changes.

Issue #1338

    • -3
    • +47
    ./CacheResolveIntegrationTest.groovy
  1. … 9 more files in changeset.
No more absolute path in metadata cache

Reference to file are now relative to the root of the module cache

instead of being absolute.

This allows moving the full module cache around to be reused with

a different root path.

The path are also normalized, so that they are portable across systems

where the name separator changes.

Issue #1338

    • -3
    • +47
    ./CacheResolveIntegrationTest.groovy
  1. … 9 more files in changeset.
Include version constraint comparison in equals() check of dependency (#11001)

The version constraint was ignored when comparing two dependency

declarations. This can lead to dropping dependency declarations for

the same module with the same required version, even if other version

constraint details differ.

    • -0
    • +33
    ./strict/StrictVersionConstraintsIntegrationTest.groovy
  1. … 1 more file in changeset.
Relax flaky test expectation

    • -3
    • +2
    ./override/ComponentOverrideMetadataResolveIntegrationTest.groovy
Relax flaky test expectation

    • -3
    • +2
    ./override/ComponentOverrideMetadataResolveIntegrationTest.groovy
Relax flaky test expectation

    • -3
    • +2
    ./override/ComponentOverrideMetadataResolveIntegrationTest.groovy
Add test coverage to pin down selector sorting behavior

We now rely on the selector sorting when choosing a selector

to compute override metadata. The sorting puts the most

likely used selector first.

    • -137
    • +0
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
    • -0
    • +253
    ./override/ComponentOverrideMetadataResolveIntegrationTest.groovy
Add test coverage to pin down selector sorting behavior

We now rely on the selector sorting when choosing a selector

to compute override metadata. The sorting puts the most

likely used selector first.

    • -137
    • +0
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
    • -0
    • +253
    ./override/ComponentOverrideMetadataResolveIntegrationTest.groovy
Add test coverage to pin down selector sorting behavior

We now rely on the selector sorting when choosing a selector

to compute override metadata. The sorting puts the most

likely used selector first.

    • -137
    • +0
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
    • -0
    • +253
    ./override/ComponentOverrideMetadataResolveIntegrationTest.groovy
Include version constrain comparison in equals() check of dependency

The version constraint was ignored when comparing two dependency

declarations. This can lead to dropping dependency declarations for

the same module with the same required version, even if other version

constraint details differ.

    • -0
    • +33
    ./strict/StrictVersionConstraintsIntegrationTest.groovy
  1. … 1 more file in changeset.
Add test coverage to pin down selector sorting behavior

We now rely on the selector sorting when choosing a selector

to compute override metadata. The sorting puts the most

likely used selector first.

    • -137
    • +0
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
    • -0
    • +253
    ./override/ComponentOverrideMetadataResolveIntegrationTest.groovy
Add test coverage to pin down selector sorting behavior

We now rely on the selector sorting when choosing a selector

to compute override metadata. The sorting puts the most

likely used selector first.

    • -0
    • +253
    ./artifacts/ComponentOverrideMetadataResolveIntegrationTest.groovy
    • -137
    • +0
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
Add test coverage to pin down selector sorting behavior

We now rely on the selector sorting when choosing a selector

to compute override metadata. The sorting puts the most

likely used selector first.

    • -0
    • +252
    ./artifacts/ComponentOverrideMetadataResolveIntegrationTest.groovy
    • -137
    • +0
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
Fix tests

    • -1
    • +1
    ./ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy
    • -1
    • +1
    ./constraints/DependencyConstraintsIntegrationTest.groovy
Do not expect an exact number of HEAD requests

This seems to be dependent on timing. If one request starts after

another did already finish, it can take the result from cache.

    • -11
    • +9
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
  1. … 1 more file in changeset.
Do not expect an exact number of HEAD requests

This seems to be dependent on timing. If one request starts after

another did already finish, it can take the result from cache.

    • -11
    • +9
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
  1. … 1 more file in changeset.
Do not expect an exact number of HEAD requests

This seems to be dependent on timing. If one request starts after

another did already finish, it can take the result from cache.

    • -11
    • +9
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
  1. … 1 more file in changeset.
Add integration test for dependency artifacts in multiple declarations

This test reproduces https://github.com/gradle/gradle/issues/10948

and other variations of it.

    • -0
    • +139
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
Add integration test for dependency artifacts in multiple declarations

This test reproduces https://github.com/gradle/gradle/issues/10948

and other variations of it.

    • -0
    • +139
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
Add integration test for dependency artifacts in multiple declarations

This test reproduces https://github.com/gradle/gradle/issues/10948

and other variations of it.

    • -0
    • +139
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
Add integration test for dependency artifacts in multiple declarations

This test reproduces https://github.com/gradle/gradle/issues/10948

and other variations of it.

    • -0
    • +139
    ./artifacts/DependencyArtifactsResolveIntegrationTest.groovy
Revert "Revert "Merge branch 'release'""

This reverts commit 67b8bb8f18f854f45a2f5ec52cc9c8a25981e2f2.

This restores the merge attempt from earlier.

    • -7
    • +121
    ./capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -5
    • +5
    ./capabilities/CapabilitiesRulesIntegrationTest.groovy
    • -3
    • +3
    ./capabilities/PublishedCapabilitiesIntegrationTest.groovy
  1. … 64 more files in changeset.
Revert "Merge branch 'release'"

This reverts commit c7fdc455dcb9a8016af0ae9bc8b4c43fde1e2d06, reversing

changes made to 9f70d52b74dbc8c71381781b6c155474031b3cf8.

The changes need a wrapper as there are API changes. Reverting for now.

    • -121
    • +7
    ./capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -5
    • +5
    ./capabilities/CapabilitiesRulesIntegrationTest.groovy
    • -3
    • +3
    ./capabilities/PublishedCapabilitiesIntegrationTest.groovy
  1. … 64 more files in changeset.
Support variant selection in capability conflict resolution (#10973)

A conflict can also occur between two variants of the same component.

This gives access to the variant name in the selection rule and

evicts nodes that represent the not-selected variant.

    • -7
    • +121
    ./capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -5
    • +5
    ./capabilities/CapabilitiesRulesIntegrationTest.groovy
    • -3
    • +3
    ./capabilities/PublishedCapabilitiesIntegrationTest.groovy
  1. … 11 more files in changeset.
Support variant selection in capability conflict resolution

A conflict can also occur between two variants of the same component.

This gives access to the variant name in the selection rule and

evicts nodes that represent the not-selected variant.

    • -7
    • +121
    ./capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -5
    • +5
    ./capabilities/CapabilitiesRulesIntegrationTest.groovy
    • -3
    • +3
    ./capabilities/PublishedCapabilitiesIntegrationTest.groovy
  1. … 11 more files in changeset.
Support variant selection in capability conflict resolution

A conflict can also occur between two variants of the same component.

This gives access to the variant name in the selection rule and

evicts nodes that represent the not-selected variant.

    • -7
    • +121
    ./capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -5
    • +5
    ./capabilities/CapabilitiesRulesIntegrationTest.groovy
    • -3
    • +3
    ./capabilities/PublishedCapabilitiesIntegrationTest.groovy
  1. … 10 more files in changeset.
Disallow using dependency locking with failOnDynamic/Changing versions

Because those 2 features are effectively incompatible:

- either you use dynamic versions but with locking

- or you disallow dynamic versions

    • -0
    • +33
    ./locking/DependencyLockingIntegrationTest.groovy
  1. … 1 more file in changeset.
Disallow using dependency locking with failOnDynamic/Changing versions

Because those 2 features are effectively incompatible:

- either you use dynamic versions but with locking

- or you disallow dynamic versions

    • -0
    • +33
    ./locking/DependencyLockingIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix detection of unstable resolution result

when there are multiple candidates and the selected

version is higher than the non-dynamic selectors

versions.

    • -0
    • +29
    ./reproducibility/FailOnDynamicVersionsResolveIntegrationTest.groovy
  1. … 4 more files in changeset.