ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adjust tests and samples to new metadata sources defaults

    • -13
    • +13
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 95 more files in changeset.
wip - fix more tests

    • -13
    • +13
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 46 more files in changeset.
wip - fix more tests

    • -13
    • +13
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 14 more files in changeset.
wip - fix more tests

    • -13
    • +13
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 45 more files in changeset.
wip - fix more tests

    • -13
    • +13
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 46 more files in changeset.
Let dependency-management tests not use deprecated configurations

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

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

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

    • -9
    • +9
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 27 more files in changeset.
Fix integration tests which don't use repo mirrors

    • -27
    • +14
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 6 more files in changeset.
Fix ResolveConfigurationRepositoriesBuildOperationIntegrationTest

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

    • -1
    • +1
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
Spike validating ivy/maven definition earlier

    • -32
    • +49
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 2 more files in changeset.
Add integ tests about behaviour when no url is set

    • -0
    • +108
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
Provide a type safe API for configuring pattern layout

When an IvyArtifactRepository is configured with a `pattern` layout, it

can be further configured. This change deprecates the older method that

took both the layout name and a configuration closure in favour of a

named method to configure the `pattern` layout since the others cannot

be configured.

Issue #6529

    • -1
    • +1
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 15 more files in changeset.
Pass URLs as-is in RepositoryDescriptor implementations

The build scan plugin will have some logic to convert file URLs to files for better relativization.

    • -1
    • +1
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 3 more files in changeset.
Capture URL in UrlRepositoryDescriptor as File if the scheme is 'file', isntead of String

This allows the build scan plugin to relativize the URL to known 'roots' as other captured files.

It looks nicer, dedupes better, and is more consistent.

    • -1
    • +1
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 5 more files in changeset.
Use external repository mirrors in build (#6094)

We've been bitten by external repository fluctuation for a long time.

This PR makes most of tests use repository mirrors set up by ourselves

via init script and system property.

There're still some tests not switching to mirrors, which would be fixed

in follow-up commits.

    • -0
    • +1
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 99 more files in changeset.
Strongly model the repository descriptors

This provides more consistency, and clarity of what the model actually is.

    • -19
    • +37
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 15 more files in changeset.
Add support for emitting information about repositories used during configuration resolution process, and sourced repository for a component (#5959)

- `ResolveConfigurationDependenciesBuildOperationType.Details` now contains a `List<Repository>` eventually provided by all `ResolutionAwareRepository` implementations

- `ResolvedComponentResult` has been subclassed to `ResolvedComponentResultInternal`, to provide the `repositoryName` used as source. This can be `null` in case of project dependency.

- Note that even when artifacts are resolved from the cache, they still convey the original repository that was used as source. The `name` of a repository is guaranteed to be unique inside a given repository container, and we use a single repository container to resolve a given configuration. Hence, the name can be safely used to uniquely identify which repository was used to source components.

- This commit also moves custom serialization logic to the owning type of `SerializedOperation` implementations to their owning types

    • -0
    • +473
    ./ResolveConfigurationRepositoriesBuildOperationIntegrationTest.groovy
  1. … 52 more files in changeset.