SamplesManagingTransitiveDependenciesIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use a separate project

    • -231
    • +0
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 87 more files in changeset.
Use a separate project

    • -231
    • +0
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 87 more files in changeset.
Deprecated `force` on first-level dependencies

This commit deprecates using `force` in favor of using the

new "strictly" behavior. The "force" flag is still used

internally, in particular in case of virtual platforms, but

its usage should be discouraged as we have a solution which

is better now.

    • -0
    • +1
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 23 more files in changeset.
Deprecated `force` on first-level dependencies

This commit deprecates using `force` in favor of using the

new "strictly" behavior. The "force" flag is still used

internally, in particular in case of virtual platforms, but

its usage should be discouraged as we have a solution which

is better now.

    • -0
    • +1
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 23 more files in changeset.
Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

    • -3
    • +3
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 32 more files in changeset.
Align implementations of artifact identifier display names

DefaultModuleComponentArtifactIdentifier now behaves similar as

ComponentFileArtifactIdentifier (showing the full actual file name).

This means that the artifact name used during reporting now

contains the version at the usual position in the file name.

This way it shows the actual file name for artifacts originating

from pom-only maven repositories (except snapshots, which show the

SNAPSHOT placeholder) and ivy repositories with default pattern.

The motivation for this alignment is to get the same representation for

the same file, independent of whether it was sourced from traditional

or Gradle module metadata.

    • -3
    • +3
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 32 more files in changeset.
Revert "Temporarily ignore failing DM tests"

This reverts commit f71ac70373f4ed3b63143c08180b5fa158a320e9.

    • -2
    • +0
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 6 more files in changeset.
Temporarily ignore failing DM tests

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

    • -0
    • +2
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 6 more files in changeset.
Finalize the value of any task `@Input` property whose getter returns a property instance, at the start of execution of the task.

This means that the property value will not change once the task has started execution, so that the same value is always used during fingerprinting, cache key calculation, validation, when queried by a task action, and so on.

This behaviour only applies to `@Input` properties in this commit. This was just a place to start. Other properties will be added in later commits.

Changes to the property are ignored once the value is finalized implicitly in this way and generate a deprecation warning instead of failing, as would happen after `finalizeValue()` is called. This allows a migration path for task types that can add a new property to represent some input and keep their existing lenient (but now deprecated) behaviour for an existing property backed by the new property. It might prove better to flip this around, let's see.

    • -1
    • +2
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 61 more files in changeset.
Use global init script to set mirrors for buildSrc (#6627)

    • -1
    • +1
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 50 more files in changeset.
include Kotlin DSL sample for chapter managing_transitive_dependencies (constraintsFromBOM example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -3
    • +8
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 8 more files in changeset.
include Kotlin DSL sample for chapter managing_transitive_dependencies (disableForConfiguration example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -3
    • +8
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 6 more files in changeset.
include Kotlin DSL sample for chapter managing_transitive_dependencies (disableForDependency example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -3
    • +8
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 8 more files in changeset.
include Kotlin DSL sample for chapter managing_transitive_dependencies (forceForConfiguration example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -3
    • +8
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 8 more files in changeset.
include Kotlin DSL sample for chapter managing_transitive_dependencies (forceForDependency example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -3
    • +8
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 8 more files in changeset.
include Kotlin DSL sample for chapter managing_transitive_dependencies (excludeForConfiguration example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -3
    • +8
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 11 more files in changeset.
include Kotlin DSL sample for chapter managing_transitive_dependencies (excludeForDependency example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -15
    • +20
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 11 more files in changeset.
include Kotlin DSL sample for chapter managing_transitive_dependencies (unresolved example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -2
    • +6
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 11 more files in changeset.
include Kotlin DSL sample for chapter managing_transitive_dependencies (versionsWithConstraints example)

Signed-off-by: jnizet <jb@ninja-squad.com>

    • -4
    • +14
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 8 more files in changeset.
Use external repository mirrors in build (#6094)

We've been bitten by external repository fluctuation for a long time.

This PR makes most of tests use repository mirrors set up by ourselves

via init script and system property.

There're still some tests not switching to mirrors, which would be fixed

in follow-up commits.

    • -1
    • +1
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 99 more files in changeset.
Leverage repository mirrors for testing samples

Fix typo in documentation

    • -3
    • +8
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 7 more files in changeset.
Change int tests to use relevant fixture methods to express their expectations about the build log output.

    • -10
    • +10
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 30 more files in changeset.
Rename sample to keep the path short enough for Windows

...

    • -1
    • +1
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 7 more files in changeset.
Improve assertion in sample test

    • -2
    • +1
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
Move content from feature preview document to user guide

To make it sustainable and easy to discover for users. The content

is reworded to fit into the existing documentation and with the new

terminology definitions. Some explanations are moved to the release

notes, which previously linked to the preview document, to better

illustrate the features there.

Features documented:

- optional dependencies

- BOM support

- compile/runtime scope separation

- metadata sources (was already added to documentation earlier,

therefore it can also be removed from the preview doc)

    • -0
    • +13
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 7 more files in changeset.
Reorganize samples and test code for dependency management in user guide (#4221)

    • -0
    • +163
    ./SamplesManagingTransitiveDependenciesIntegrationTest.groovy
  1. … 126 more files in changeset.