ResolvedConfigurationIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

    • -11
    • +11
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 32 more files in changeset.
Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

    • -11
    • +11
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 32 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -32
    • +32
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 27 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -32
    • +32
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 27 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -32
    • +32
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 27 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -32
    • +32
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 27 more files in changeset.
Fix edges being incorrectly reintegrated into result

It was possible for an edge to be reintegrated in the graph even if its

source node wasn't selected. This would result in an inconsistency when

writing, then reading the generated serialized graph. In particular,

when a node had a replacement, an that another edge in the graph caused

an upgrade of the source dependency, the older version of the source

node could have been seen as selected when it wasn't.

Fixes #4785

    • -0
    • +76
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 1 more file in changeset.
Fix edges being incorrectly reintegrated into result

It was possible for an edge to be reintegrated in the graph even if its

source node wasn't selected. This would result in an inconsistency when

writing, then reading the generated serialized graph. In particular,

when a node had a replacement, an that another edge in the graph caused

an upgrade of the source dependency, the older version of the source

node could have been seen as selected when it wasn't.

Fixes #4785

    • -0
    • +76
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 1 more file in changeset.
Gradle should fail resolution from subsequent repositories on critical errors (#3412)

    • -3
    • +3
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 15 more files in changeset.
Fixes first level dependencies not resolved properly

This commit fixes the dependency graph internal state when a module version was selected

in agreement with other selectors: the state of the graph was inconsistent, because the

other selector states weren't aligned properly to the newly selected module version.

Issue #3401

    • -0
    • +58
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 5 more files in changeset.
Attempt to resolve an artifact only once per configuration (including all views of the configuration). If the resolution fails, collect the failure and rethrow when queried again later.

    • -6
    • +0
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 4 more files in changeset.
Reworked the collection of file dependencies during dependency graph traversal, so that the files from these dependencies are ordered the same way as other kinds of dependencies, rather than always ordering these files at the start of the result.

    • -0
    • +2
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 16 more files in changeset.
Added some more test coverage for `ResolvedConfiguration` and `LenientConfiguration` APIs.

    • -24
    • +103
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 2 more files in changeset.
Added more coverage for the various methods of `ResolvedConfiguration` and `LenientConfiguration`. Fixed a regression in `LenientConfiguration.files` introduced in some earlier refactoring.

Also added some convenience overloads for the various filtered methods on these types.

    • -7
    • +124
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 8 more files in changeset.
Use doLast instead of left shift operator

Made this change in preparation for deprecating the left shift operator.

+review REVIEW-6236

    • -27
    • +31
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 163 more files in changeset.
Renamed method to avoid ambiguous overloads in Groovy (screwed up in IDE)

    • -2
    • +2
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 13 more files in changeset.
Convert integration test to Spock test

    • -59
    • +63
    ./ResolvedConfigurationIntegrationTest.groovy
Run more integration tests assuming fluid dependencies

    • -0
    • +3
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 8 more files in changeset.
Renamed subprojects/core-impl to subprojects/dependency-management.

    • -0
    • +100
    ./ResolvedConfigurationIntegrationTest.groovy
  1. … 1384 more files in changeset.