dependencyManagement

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move rest of snippets in userguide folder to parent

    • -9
    • +0
    ./artifactTransforms/incremental/artifactTransformIncremental.sample.conf
    • -20
    • +0
    ./artifactTransforms/minify/artifactTransformMinify.out
    • -13
    • +0
    ./artifactTransforms/minify/artifactTransformMinify.sample.conf
    • -153
    • +0
    ./artifactTransforms/minify/groovy/build.gradle
  1. … 3409 more files in changeset.
Revert "Fix SamplesWorkingWithDependenciesIntegrationTest for instant execution"

This reverts commit d58a3f7983aeb6c23bf0934b5413de8d75ad05e6.

  1. … 1 more file in changeset.
Add "docs type" and "status" to the JVM describer

    • -2
    • +2
    ./customizingResolution/metadataRule/failRuntimeClasspathResolve.out
  1. … 2 more files in changeset.
Fix SamplesWorkingWithDependenciesIntegrationTest for instant execution

by capturing only supported types

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

  1. … 1 more file in changeset.
Align the ambiguous selection error messages with no matching case

This commit polishes improved error messages in variant selection by

making the "ambiguous" case closer to what we have for the "no matching"

case.

    • -24
    • +14
    ./customizingResolution/metadataRule/failRuntimeClasspathResolve.out
  1. … 20 more files in changeset.
Make assertions of sample snippet test more lenient

The selected 'commons-lang3' artifact can change over time as

we request 'latest.rc'. So we just check that resolution is successful

but not which artifact was selected.

    • -1
    • +0
    ./customizingResolution/metadataRule/compileClasspathArtifacts.out
    • -1
    • +0
    ./customizingResolution/metadataRule/runtimeClasspathArtifacts.out
Introduce styled exceptions

This commit introduces the concept of _styled exceptions_, which basically

allow putting some emphasis on user facing error messages. Before this

change, exception messages were just plain text. It's now possible to have

exceptions which provide a rich styled output when an ANSI console is

available.

The attribute matching code has been adapted to make use of those new

exception types.

    • -55
    • +16
    ./customizingResolution/metadataRule/failRuntimeClasspathResolve.out
  1. … 38 more files in changeset.
Make it possible to use an ecosystem describer in more cases

Before this commit the describer would only be used if the same set of attributes

was found. This means that if the consumer added, or removed, one attribute, we

would lose the benefit of better user error messages. With this change, we try

to find the _best matching_ describer, if any.

    • -81
    • +80
    ./customizingResolution/metadataRule/failRuntimeClasspathResolve.out
  1. … 20 more files in changeset.
Update to latest commons lang 3 release

This is a quick fix: the test should not check the dynamic version.

    • -1
    • +1
    ./customizingResolution/metadataRule/compileClasspathArtifacts.out
    • -1
    • +1
    ./customizingResolution/metadataRule/runtimeClasspathArtifacts.out
Improve error reporting for the Java ecosystem

This commit introduces improved error messages for the Java ecosystem

in case of variant matching errors.

    • -33
    • +33
    ./customizingResolution/metadataRule/failRuntimeClasspathResolve.out
  1. … 26 more files in changeset.
Improve variant matching error messages

Error messages prove to be difficult to interpret from a user point of

view. This commit tries to improve the situation by doing a couple of

things:

1. describing more clearly what the consumer is asking for. This includes,

when possible (currently only in the Java ecosystem), interpreting the

consumer attributes as a human-readable description, instead of a raw

list of attributes.

2. giving more context when possible. In particular, sometimes we fail

with an ambiguous variant error selection, but we only list the remaining

candidates, not listing the ones which were actually discarded during

selection. This proved to be particularly complex to debug from various

users (plugin authors and end-users).

    • -1
    • +96
    ./customizingResolution/metadataRule/failRuntimeClasspathResolve.out
  1. … 46 more files in changeset.
Fix spelling mistakes and logical/structural errors in the userguide

Signed-off-by: Lars Kaulen <lars.kaulen@outlook.de>

  1. … 19 more files in changeset.
ivyMetadataRule: fix kotlin dsl example for IvyModuleDescriptor class

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

ivyMetadataRule: add comments for filter out of non ivy modules

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

Document the single lock file per project

Issue #11881

  1. … 1 more file in changeset.
Use a property for LockMode

This is more inline with modern Gradle APIs and enables the usage of

finalized value instead of doing it internally.

  1. … 8 more files in changeset.
ivy-component-metadata-rule sample should check for IvyModuleDescriptor existence to avoid breaking Maven modules

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

Trigger ivy rule in samples

Fix test failures

  1. … 4 more files in changeset.
Update samples to actually execute the component rules

Fix dependencyManagement/workingWithDependencies/walkGraph snippet

that was doing dependency resolution at execution time without declaring

inputs, thus using project.configurations

by declaring a ResolvableDependencies input instead

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

    • -1
    • +0
    ./workingWithDependencies/walkGraph/walkDependencyGraph.out
Add PomModuleDescriptor to "component metadata rules" documentation

  1. … 1 more file in changeset.
Use plugins DSL in depencendyManagement/attributeMatching snippet

    • -1
    • +3
    ./attributeMatching/snippets/groovy/build.gradle
Use plugins DSL in dependencyManagement snippet

Set category attribute to 'library' for compile and runtime classpath

Otherwise Gradle may attempt to match variants of other categories

if the category=library variants to not fit (in which case Gradle

should fail).

    • -24
    • +2
    ./customizingResolution/metadataRule/failRuntimeClasspathResolve.out
  1. … 9 more files in changeset.
Fix use of schema location

The code was using `xmlns` instead of `xsi`

  1. … 4 more files in changeset.
Add documentation about disabling verification

    • -0
    • +11
    ./dependencyVerification/disablingVerification/disabling_verification.sample.conf
  1. … 1 more file in changeset.
Add documentation for exclusive repository content filtering

  1. … 1 more file in changeset.
Improve documentation on capabilities conflict solving

Clearly states that skipping conflict resolution when desired module is

not a candidate is the expected pattern.

  1. … 1 more file in changeset.
Move added snippet to updated location

The snippets are now located in a different location. This

happened in parallel of the locking-modes PR resulting in

the wrong location being used.

  1. … 7 more files in changeset.