Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Introduce constraint inheritance API

    • -1
    • +1
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 40 more files in changeset.
Introduce constraint inheritance API

    • -1
    • +1
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 40 more files in changeset.
Introduce constraint inheritance API

    • -1
    • +1
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 40 more files in changeset.
Introduce constraint inheritance API

    • -1
    • +1
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 41 more files in changeset.
Add `inheritSubgraphConstraints()` API to dependencies

    • -1
    • +2
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 61 more files in changeset.
Add `inheritSubgraphConstraints()` API to dependencies

    • -1
    • +2
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 62 more files in changeset.
Add `inheritSubgraphConstraints()` API to dependencies

    • -1
    • +2
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 63 more files in changeset.
Apply `Anonymous type can be replaced with lambda` inspection the whole project

  1. … 666 more files in changeset.
Explicitly assimilate strong concerns of direct dependency

    • -1
    • +1
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 19 more files in changeset.
Upgrade commons-lang{->3} replacing packages

  1. … 175 more files in changeset.
Add deprecation mechanism for configurations

    • -3
    • +5
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 16 more files in changeset.
Add deprecation mechanism for configurations

    • -3
    • +5
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 16 more files in changeset.
Add deprecation mechanism for configurations

    • -3
    • +5
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 16 more files in changeset.
Add deprecation mechanism for configurations

    • -3
    • +5
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 16 more files in changeset.
Add deprecation mechanism for configurations

    • -3
    • +5
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 16 more files in changeset.
Add deprecation mechanism for configurations

    • -3
    • +5
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 16 more files in changeset.
Add deprecation mechanism for configurations

    • -3
    • +5
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 16 more files in changeset.
Organize imports

  1. … 339 more files in changeset.
Replace anonymous classes with lambdas

  1. … 711 more files in changeset.
Replace anonymous classes with lambdas

  1. … 695 more files in changeset.
Warn if a configuration is consumed for which consuming is deprecated #1

This is for consumption with attribute matching.

    • -3
    • +5
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 9 more files in changeset.
Warn if a configuration is consumed for which consuming is deprecated #1

This is for consumption with attribute matching.

    • -3
    • +5
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 9 more files in changeset.
Remove use of commons-collections

  1. … 9 more files in changeset.
Support requested capabilities on external dependencies

This commit adds support for having requested capabilities

part of the module component selector, for external dependencies.

This means that if a component is using Gradle metadata, we can

read requested capabilities and honor them during selection.

This reworks where requested capabilities are stored, and in

particular moves them to the `ComponentSelector`, making them

properly part of the identity of a dependency. As such, two

dependencies requiring two different variants by using distinct

capabilities will now properly appear as two different dependencies

in the dependency graph, instead of two variants of the same

dependency.

    • -2
    • +1
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 63 more files in changeset.
Initial support for optional features

This commit introduces initial support for optional features, by

implementing a way for a dependency declaration (currently *only* in

the DSL) to request variants of the target component that provide one

or more capabilities.

Previously to this change, selection was (simplified) done like this:

1. find the target component

2. select the variant of the target component which matches the requested

attributes

Now, selection introduces another step:

1. find the target component

2. filter variants by eliminating those which do not provide the requested

capabilities

3. select the variant in this list which matches the requested attributes

Several changes had to be implemented:

First, component metadata rules calling `addCapability` will now return

a component which capabilities _include_ the default capability.

Second, attribute filtering is done in a secondary step, which means that

if there are no variant matching the requested capabilities, we will immediately

fail.

    • -1
    • +2
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 58 more files in changeset.
Remove commons-collections and commons-cli

  1. … 11 more files in changeset.
Use an `ImmutableSet` to represent the configuration hierarchy

ImmutableSets are ordered and optimized for lookups. We happen to

call `contains` a lot on hierarchies, so using a `Set` should

optimize things a little.

    • -3
    • +4
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 31 more files in changeset.
Normalize `ModuleIdentifier`

This commit reworks the `ComponentModuleIdentifier`/`ComponentModuleSelector`/`ModuleVersionSelector`

classes to use `ModuleIdentifier` under the hood, instead of storing denormalized strings. This has

the advantage that we can reduce the use of the module identifier factory, which is called very

often during dependency resolution. Sharing instances reduces the need for conversions, and makes

comparisons faster.

    • -3
    • +4
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 164 more files in changeset.
Refactorings following review comments

* Rename LockConstraint to DependencyLockingState

* Removed EmptyLockConstraint

* Simplified some nested conditionals

    • -4
    • +4
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 14 more files in changeset.
Honor constraint attribute during selection

This commit makes sure that attributes from all selectors are used during

selection, including the attributes from constraints. It does not, however,

make sure that those attributes are consistent (compatible).

    • -1
    • +1
    ./DefaultLibraryLocalComponentMetadata.java
  1. … 13 more files in changeset.