Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Enable improved POM support by default

This commit makes the experimental flag `IMPROVED_POM_SUPPORT` the default.

The flag is still there for backwards compatibility but has effectively no

impact. As a consequence, the behavior of improved POM support is now the

default, which implies that:

- Maven dependencies packaged as `pom` or `jar` now have derived variants

(`compile` and `runtime`) and we properly choose between the variants based

on the consumer attributes

- platform dependencies using the `platform` and `enforcedPlatform` keywords

are enabled

Enabling improved POM support by default is a **breaking change**: there's

a risk that resolved dependencies is different, in particular because we

will now only include the `compile` dependencies of a POM file whenever the

consumer asks for the API variant. There are also some changes in the

dependency insight reports due to the use of attribute based matching instead

of configuration selection.

Last but not least, this commit is likely to introduce a small performance

regression due to attribute based selection.

    • -25
    • +3
  1. … 50 more files in changeset.
Align documentation and tests on feature preview API

    • -9
    • +9
  1. … 16 more files in changeset.
Transform FeaturePreviewsFixture to use the new API

Replaces injecting a property in the with injecting

the gradle.enableFeaturePreview in settings.gradle

    • -3
    • +3
  1. … 16 more files in changeset.
Make client module work for dependencies that declare variants (#3960)

For client modules, which is an outdated concept, we now ignore

variants completely and always fall back to configuration selection.

This is required to keep client modules working for dependencies

with pom metadata when the advanced pom support is active. This is,

because the advanced pom support derives runtime and api variants

from the scopes defined in the pom.

Signed-off-by: Jendrik Johannes <>

    • -6
    • +30
  1. … 1 more file in changeset.
Move test for nested ClientModule to live with other ClientModule tests

    • -0
    • +44
  1. … 2 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

    • -6
    • +12
  1. … 163 more files in changeset.
More leaks file handles.

    • -1
    • +3
  1. … 13 more files in changeset.
Renamed subprojects/core-impl to subprojects/dependency-management.

    • -0
    • +110
  1. … 1384 more files in changeset.