Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
First elements of a compatibility mode for classifiers in Gradle Metadata

This commit introduces a synthetic attribute used for compatibility

purposes when a dependency declaration uses classifiers. It is

transparently converted to a dependency attribute on Gradle Module

Metadata, and this attribute is used in a specific manner during

resolution (it's actually converted _back to_ an artifact selection).

    • -0
    • +44
    ./MavenDependencyResolveIntegrationTest.groovy
  1. … 11 more files in changeset.
MetadataSources: Introduce ignoreGradleMetadataRedirection to prevent gradle metadata redirection when marker is present in POM or Ivy descriptor

Signed-off-by: Roberto Perez Alcolea <rperezalcolea@netflix.com>

    • -3
    • +44
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 8 more files in changeset.
WIP

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryElements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Rename format attribute and clean up values

Attribute is now org.gradle.libraryelements and only applied

to variants having the org.gradle.category at library.

This means that values related to platforms or document in the

former format attribute are removed.

    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 45 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 27 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 53 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 53 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 27 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 40 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 53 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 54 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 54 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 53 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 54 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 46 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 54 more files in changeset.
Remove utilisation of *-jars usage values

    • -20
    • +20
    ./ClassifierToVariantResolveIntegrationTest.groovy
    • -2
    • +2
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenGradleMetadataRedirectionIntegrationTest.groovy
  1. … 54 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -1
    • +1
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -1
    • +1
    ./MavenProfileResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenRealProjectsDependencyResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -8
    • +8
    ./MavenScopesAndProjectDependencySubstitutionIntegrationTest.groovy
    • -2
    • +2
    ./MavenSnapshotResolveIntegrationTest.groovy
    • -5
    • +5
    ./MavenVersionRangeResolveIntegrationTest.groovy
  1. … 20 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -1
    • +1
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -1
    • +1
    ./MavenProfileResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenRealProjectsDependencyResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -8
    • +8
    ./MavenScopesAndProjectDependencySubstitutionIntegrationTest.groovy
    • -2
    • +2
    ./MavenSnapshotResolveIntegrationTest.groovy
    • -5
    • +5
    ./MavenVersionRangeResolveIntegrationTest.groovy
  1. … 20 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -1
    • +1
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -1
    • +1
    ./MavenProfileResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenRealProjectsDependencyResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -8
    • +8
    ./MavenScopesAndProjectDependencySubstitutionIntegrationTest.groovy
    • -2
    • +2
    ./MavenSnapshotResolveIntegrationTest.groovy
    • -5
    • +5
    ./MavenVersionRangeResolveIntegrationTest.groovy
  1. … 20 more files in changeset.
Let dependency-management tests not use deprecated configurations

    • -1
    • +1
    ./MavenBomResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenLocalDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -1
    • +1
    ./MavenProfileResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenRealProjectsDependencyResolveIntegrationTest.groovy
    • -1
    • +1
    ./MavenRemoteDependencyWithGradleMetadataResolutionIntegrationTest.groovy
    • -8
    • +8
    ./MavenScopesAndProjectDependencySubstitutionIntegrationTest.groovy
    • -2
    • +2
    ./MavenSnapshotResolveIntegrationTest.groovy
    • -5
    • +5
    ./MavenVersionRangeResolveIntegrationTest.groovy
  1. … 20 more files in changeset.
Sort module selectors

This commit reworks module selectors so that they are sorted

in an order which reduces the cost of module selection. We

make sure to put local (project) selectors first, then we

use selectors from locks (if any).

The next selectors are "latest" version selectors because

even if they are dynamic, they are likely to "win" selection.

Then, exact version selectors are sorted by version descending

, and last we add dynamic version selectors.

    • -1
    • +1
    ./MavenRealProjectsDependencyResolveIntegrationTest.groovy
  1. … 19 more files in changeset.
Sort module selectors

This commit reworks module selectors so that they are sorted

in an order which reduces the cost of module selection. We

make sure to put local (project) selectors first, then we

use selectors from locks (if any).

The next selectors are "latest" version selectors because

even if they are dynamic, they are likely to "win" selection.

Then, exact version selectors are sorted by version descending

, and last we add dynamic version selectors.

    • -1
    • +1
    ./MavenRealProjectsDependencyResolveIntegrationTest.groovy
  1. … 19 more files in changeset.