Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Rework `forSubgraph` as implied by `strictly`

This commit removes a dedicated `forSubgraph` flag

on version constraints, so that it is _implied_ by

strict version constraints. This simplifies the behavior

of `strictly`, making it closer to the intuitive semantics,

while maintaining the ability to fail the build if a

consumer brings an incompatible version in the graph.

As a consequence, _strict dependencies_ now express that

the producer preference overrides whatever is found in

its own dependency graph. It is closer to the "nearest

first" semantics of Maven, while not having its drawbacks

(ordering in particular).

    • -9
    • +8
    ./DefaultImmutableVersionConstraint.java
    • -17
    • +1
    ./DefaultMutableVersionConstraint.java
    • -2
    • +1
    ./DefaultProjectDependencyConstraint.java
    • -3
    • +10
    ./DefaultResolvedVersionConstraint.java
  1. … 73 more files in changeset.
Rework `forSubgraph` as implied by `strictly`

This commit removes a dedicated `forSubgraph` flag

on version constraints, so that it is _implied_ by

strict version constraints. This simplifies the behavior

of `strictly`, making it closer to the intuitive semantics,

while maintaining the ability to fail the build if a

consumer brings an incompatible version in the graph.

As a consequence, _strict dependencies_ now express that

the producer preference overrides whatever is found in

its own dependency graph. It is closer to the "nearest

first" semantics of Maven, while not having its drawbacks

(ordering in particular).

    • -9
    • +8
    ./DefaultImmutableVersionConstraint.java
    • -17
    • +1
    ./DefaultMutableVersionConstraint.java
    • -2
    • +1
    ./DefaultProjectDependencyConstraint.java
    • -3
    • +10
    ./DefaultResolvedVersionConstraint.java
  1. … 75 more files in changeset.
Rework `forSubgraph` as implied by `strictly`

This commit removes a dedicated `forSubgraph` flag

on version constraints, so that it is _implied_ by

strict version constraints. This simplifies the behavior

of `strictly`, making it closer to the intuitive semantics,

while maintaining the ability to fail the build if a

consumer brings an incompatible version in the graph.

As a consequence, _strict dependencies_ now express that

the producer preference overrides whatever is found in

its own dependency graph. It is closer to the "nearest

first" semantics of Maven, while not having its drawbacks

(ordering in particular).

    • -9
    • +8
    ./DefaultImmutableVersionConstraint.java
    • -17
    • +1
    ./DefaultMutableVersionConstraint.java
    • -2
    • +1
    ./DefaultProjectDependencyConstraint.java
    • -3
    • +10
    ./DefaultResolvedVersionConstraint.java
  1. … 73 more files in changeset.
Rework `forSubgraph` as implied by `strictly`

This commit removes a dedicated `forSubgraph` flag

on version constraints, so that it is _implied_ by

strict version constraints. This simplifies the behavior

of `strictly`, making it closer to the intuitive semantics,

while maintaining the ability to fail the build if a

consumer brings an incompatible version in the graph.

As a consequence, _strict dependencies_ now express that

the producer preference overrides whatever is found in

its own dependency graph. It is closer to the "nearest

first" semantics of Maven, while not having its drawbacks

(ordering in particular).

    • -9
    • +8
    ./DefaultImmutableVersionConstraint.java
    • -17
    • +1
    ./DefaultMutableVersionConstraint.java
    • -2
    • +1
    ./DefaultProjectDependencyConstraint.java
    • -3
    • +10
    ./DefaultResolvedVersionConstraint.java
  1. … 73 more files in changeset.
Rework `forSubgraph` as implied by `strictly`

This commit removes a dedicated `forSubgraph` flag

on version constraints, so that it is _implied_ by

strict version constraints. This simplifies the behavior

of `strictly`, making it closer to the intuitive semantics,

while maintaining the ability to fail the build if a

consumer brings an incompatible version in the graph.

As a consequence, _strict dependencies_ now express that

the producer preference overrides whatever is found in

its own dependency graph. It is closer to the "nearest

first" semantics of Maven, while not having its drawbacks

(ordering in particular).

    • -9
    • +8
    ./DefaultImmutableVersionConstraint.java
    • -17
    • +1
    ./DefaultMutableVersionConstraint.java
    • -2
    • +1
    ./DefaultProjectDependencyConstraint.java
    • -3
    • +10
    ./DefaultResolvedVersionConstraint.java
  1. … 73 more files in changeset.
Rework `forSubgraph` as implied by `strictly`

This commit removes a dedicated `forSubgraph` flag

on version constraints, so that it is _implied_ by

strict version constraints. This simplifies the behavior

of `strictly`, making it closer to the intuitive semantics,

while maintaining the ability to fail the build if a

consumer brings an incompatible version in the graph.

As a consequence, _strict dependencies_ now express that

the producer preference overrides whatever is found in

its own dependency graph. It is closer to the "nearest

first" semantics of Maven, while not having its drawbacks

(ordering in particular).

    • -9
    • +8
    ./DefaultImmutableVersionConstraint.java
    • -17
    • +1
    ./DefaultMutableVersionConstraint.java
    • -2
    • +1
    ./DefaultProjectDependencyConstraint.java
    • -3
    • +10
    ./DefaultResolvedVersionConstraint.java
  1. … 73 more files in changeset.
Add notInheritConstraints() to module dependency API

    • -18
    • +0
    ./AbstractExternalModuleDependency.java
  1. … 5 more files in changeset.
A version constraint with isForSubgraph() is not requiredOnly()

  1. … 2 more files in changeset.
A version constraint with isForSubgraph() is not requiredOnly()

  1. … 2 more files in changeset.
Add MutableVersionConstraint.notForSubgraph() DSL method

The main use case for this are component metadata rules.

    • -0
    • +5
    ./DefaultMutableVersionConstraint.java
  1. … 3 more files in changeset.
Add MutableVersionConstraint.notForSubgraph() DSL method

The main use case for this are component metadata rules.

    • -0
    • +5
    ./DefaultMutableVersionConstraint.java
  1. … 3 more files in changeset.
Introduce constraint inheritance API

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

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

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

    • -0
    • +18
    ./AbstractExternalModuleDependency.java
  1. … 41 more files in changeset.
Relax constraints inheritance behavior

    • -3
    • +0
    ./AbstractExternalModuleDependency.java
  1. … 1 more file in changeset.
Add `inheritSubgraphConstraints()` API to dependencies

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

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

    • -0
    • +21
    ./AbstractExternalModuleDependency.java
  1. … 63 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -6
    • +16
    ./DefaultImmutableVersionConstraint.java
    • -1
    • +12
    ./DefaultMutableVersionConstraint.java
    • -1
    • +2
    ./DefaultProjectDependencyConstraint.java
  1. … 16 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -6
    • +16
    ./DefaultImmutableVersionConstraint.java
    • -1
    • +12
    ./DefaultMutableVersionConstraint.java
    • -1
    • +2
    ./DefaultProjectDependencyConstraint.java
  1. … 16 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -6
    • +16
    ./DefaultImmutableVersionConstraint.java
    • -1
    • +12
    ./DefaultMutableVersionConstraint.java
    • -1
    • +2
    ./DefaultProjectDependencyConstraint.java
  1. … 17 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -6
    • +16
    ./DefaultImmutableVersionConstraint.java
    • -1
    • +12
    ./DefaultMutableVersionConstraint.java
    • -1
    • +2
    ./DefaultProjectDependencyConstraint.java
  1. … 17 more files in changeset.
Add `forSubgraph()` API to version constraints

    • -6
    • +16
    ./DefaultImmutableVersionConstraint.java
    • -1
    • +12
    ./DefaultMutableVersionConstraint.java
    • -1
    • +2
    ./DefaultProjectDependencyConstraint.java
  1. … 16 more files in changeset.
Apply `Explicit type can be replaced with <>` inspection the whole project

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

    • -0
    • +6
    ./AbstractExternalModuleDependency.java
  1. … 19 more files in changeset.
Add `strong()` API to version constraints

    • -6
    • +16
    ./DefaultImmutableVersionConstraint.java
    • -1
    • +12
    ./DefaultMutableVersionConstraint.java
    • -1
    • +2
    ./DefaultProjectDependencyConstraint.java
  1. … 14 more files in changeset.
Spike: requireTransitive()

    • -6
    • +16
    ./DefaultImmutableVersionConstraint.java
    • -1
    • +13
    ./DefaultMutableVersionConstraint.java
    • -1
    • +2
    ./DefaultProjectDependencyConstraint.java
  1. … 14 more files in changeset.
Add missing @Override to all modules

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

    • -0
    • +8
    ./AbstractExternalModuleDependency.java
    • -0
    • +2
    ./DefaultExternalModuleDependency.java
  1. … 1003 more files in changeset.
Add missing @Override to all modules

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

    • -0
    • +8
    ./AbstractExternalModuleDependency.java
    • -0
    • +2
    ./DefaultExternalModuleDependency.java
  1. … 997 more files in changeset.