Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
    ./resolve/artifacts/DependencyArtifactsResolveIntegrationTest.groovy
    • -0
    • +253
    ./resolve/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
    ./resolve/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
    ./resolve/artifacts/DependencyArtifactsResolveIntegrationTest.groovy
    • -0
    • +253
    ./resolve/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
    ./resolve/artifacts/ComponentOverrideMetadataResolveIntegrationTest.groovy
    • -137
    • +0
    ./resolve/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
    ./resolve/artifacts/ComponentOverrideMetadataResolveIntegrationTest.groovy
    • -137
    • +0
    ./resolve/artifacts/DependencyArtifactsResolveIntegrationTest.groovy
Fix tests

    • -1
    • +1
    ./resolve/ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy
    • -1
    • +1
    ./resolve/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
    ./resolve/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
    ./resolve/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
    ./resolve/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
    ./resolve/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
    ./resolve/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
    ./resolve/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
    ./resolve/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
    ./resolve/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
    ./resolve/artifacts/DependencyArtifactsResolveIntegrationTest.groovy
Revert "Revert "Merge branch 'release'""

This reverts commit 67b8bb8f18f854f45a2f5ec52cc9c8a25981e2f2.

This restores the merge attempt from earlier.

    • -7
    • +121
    ./resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -3
    • +3
    ./resolve/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
    ./resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -3
    • +3
    ./resolve/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
    ./resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -3
    • +3
    ./resolve/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
    ./resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -3
    • +3
    ./resolve/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
    ./resolve/capabilities/CapabilitiesConflictResolutionIntegrationTest.groovy
    • -3
    • +3
    ./resolve/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
    ./resolve/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
    ./resolve/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
    ./resolve/reproducibility/FailOnDynamicVersionsResolveIntegrationTest.groovy
  1. … 4 more files 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
    ./resolve/reproducibility/FailOnDynamicVersionsResolveIntegrationTest.groovy
  1. … 4 more files in changeset.
Add `failOnNonReproducibleResolution`

This method is a short-hand notation to disable both use

of dynamic and changing versions.

    • -170
    • +0
    ./resolve/FailOnChangingVersionsResolveIntegrationTest.groovy
    • -302
    • +0
    ./resolve/FailOnDynamicVersionsResolveIntegrationTest.groovy
    • -0
    • +24
    ./resolve/reproducibility/FailOnChangingVersionsNonReproducibleResolveIntegrationTest.groovy
    • -0
    • +175
    ./resolve/reproducibility/FailOnChangingVersionsResolveIntegrationTest.groovy
    • -0
    • +24
    ./resolve/reproducibility/FailOnDynamicVersionsNonReproducibleResolveIntegrationTest.groovy
    • -0
    • +307
    ./resolve/reproducibility/FailOnDynamicVersionsResolveIntegrationTest.groovy
  1. … 3 more files in changeset.
Add `failOnNonReproducibleResolution`

This method is a short-hand notation to disable both use

of dynamic and changing versions.

    • -170
    • +0
    ./resolve/FailOnChangingVersionsResolveIntegrationTest.groovy
    • -302
    • +0
    ./resolve/FailOnDynamicVersionsResolveIntegrationTest.groovy
    • -0
    • +24
    ./resolve/reproducibility/FailOnChangingVersionsNonReproducibleResolveIntegrationTest.groovy
    • -0
    • +175
    ./resolve/reproducibility/FailOnChangingVersionsResolveIntegrationTest.groovy
    • -0
    • +24
    ./resolve/reproducibility/FailOnDynamicVersionsNonReproducibleResolveIntegrationTest.groovy
    • -0
    • +307
    ./resolve/reproducibility/FailOnDynamicVersionsResolveIntegrationTest.groovy
  1. … 3 more files in changeset.
Add support for failing on changing versions

This commit adds the `failOnChangingVersions()` method on

the resolution strategy, which will make the build fail as

soon as a changing version is detected.

This is useful to prevent, for example, snapshots from

appearing in a dependency graph.

    • -0
    • +170
    ./resolve/FailOnChangingVersionsResolveIntegrationTest.groovy
  1. … 5 more files in changeset.
Add support for failing on changing versions

This commit adds the `failOnChangingVersions()` method on

the resolution strategy, which will make the build fail as

soon as a changing version is detected.

This is useful to prevent, for example, snapshots from

appearing in a dependency graph.

    • -0
    • +170
    ./resolve/FailOnChangingVersionsResolveIntegrationTest.groovy
  1. … 5 more files in changeset.
Fix snapshot handling with Gradle Module Metadata

This commit fixes a couple of bugs:

1. if Gradle Module Metadata was published and consumed, then

the `changing` flag for the resolved component metadata wouldn't

be set to `true`, which means that snapshot would effectively be

considered as persistent

2. the publish test fixtures were not using the right, timestamped,

version id for the metadata and artifacts in case of unique snapshots,

which caused the resolution to fallback to the POM file

In addition, this fixes the generated module metadata file which

was uploaded _without_ substution the the SNAPSHOT version with

the timestamped version when published on external repositories.

Finally, this highlighted a couple of issues with test fixtures

which were still using Gradle Module Metadata when they shouldn't.

Fixes #10916

    • -2
    • +91
    ./resolve/maven/MavenSnapshotResolveIntegrationTest.groovy
  1. … 10 more files in changeset.
Fix snapshot handling with Gradle Module Metadata

This commit fixes a couple of bugs:

1. if Gradle Module Metadata was published and consumed, then

the `changing` flag for the resolved component metadata wouldn't

be set to `true`, which means that snapshot would effectively be

considered as persistent

2. the publish test fixtures were not using the right, timestamped,

version id for the metadata and artifacts in case of unique snapshots,

which caused the resolution to fallback to the POM file

Fixes #10916

    • -2
    • +91
    ./resolve/maven/MavenSnapshotResolveIntegrationTest.groovy
  1. … 7 more files in changeset.