Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Pass variant attributes down to `DefaultArtifactSet` to avoid passing the rules there

This doesn't prevent the rules from being applied multiple times, but it will: now the

variant attributes are passed, meaning that once we cache the application of the rules,

they will only be computed once.

Signed-off-by: Cedric Champeau <>

    • -7
    • +7
  1. … 17 more files in changeset.
Rename the internal and test fixtures `VariantMetadata` to avoid confusion

Signed-off-by: Cedric Champeau <>

    • -8
    • +8
  1. … 25 more files in changeset.
Retain the value of a variant attribute as an isolated value, rather than retaining the original value. Attribute values are snapshot at the point where the attribute is registered and are isolated from further changes to the original value.

This change allows attribute matching to more safely happen in parallel and means that attribute values can behave more consistently with other features that use isolated and snapshot values, such as task inputs or artifact transforms.

    • -2
    • +2
  1. … 18 more files in changeset.
Apply the attributes defined by artifact type metadata to a variant of something only when that something does not define any attributes already.

Added some Javadocs and unit test coverage.

    • -7
    • +36
  1. … 4 more files in changeset.
Added a public API reachable from `DependencyHandler` that allows a plugin to define attributes that should be attached to artifacts with a given extension, for example when consuming a Maven module or files defined by a file dependency.

The intention is that this meta-data about artifact types would complement (and maybe serve as input for) additional meta-data attached to a Maven/Ivy/local module by various meta-data rules.

    • -0
    • +154
  1. … 23 more files in changeset.