UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make lock file location configurable

When using the unique lock file per project, it is possible to configure

the lockfile name and location.

This enables scenarios where the lockfile name depends on some build

properties, allowing to have different lock state for different state of

the build.

Issue #11881

    • -0
    • +44
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 10 more files in changeset.
Add test coverage for per project lockfile

This is done by making sure most tests cover both the existing file

format and the upcoming file format.

Issue #11881

    • -20
    • +66
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 14 more files in changeset.
@ToBeFixedForInstantExecution(because = ":reportingTasks use Task.getProject()")

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

    • -0
    • +1
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 19 more files in changeset.
Rename test methods and fixtures

Given that a new format will be introduced for dependency lock files,

the existing methods have legacy in their name for clear identification.

    • -7
    • +7
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 11 more files in changeset.
Add support for locking extension in ScriptHandler

This enables defining the lock mode and other extensions to dependency

locking.

Issue #9907

    • -0
    • +86
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 6 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

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

    • -4
    • +4
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 872 more files in changeset.
Annotate integ tests failing with instant execution in :dependencyManagement

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

    • -0
    • +4
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 93 more files in changeset.
Include version constraint details in ModuleComponentSelector.displayName

    • -2
    • +2
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 8 more files in changeset.
Revert "Merge pull request #6774 from gradle/eskatos/plugins/markers-metadata-only"

This reverts commit 0426976b85d5f732f43c97a97951986d5c3f74fc, reversing

changes made to 26cd8ebad223ade618f20997d6a08ef5fad4ffce.

    • -2
    • +2
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 9 more files in changeset.
Plugin markers aren't part of dependencies locking anymore

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

    • -2
    • +2
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
Lenient locking failures for empty configurations

When resolving an empty configuration, there is a short circuit

mechanism in place. Now that locking can cause resolution failures, this

mechanism needs to be turned off in some cases.

Fixes #6383

    • -1
    • +1
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 6 more files in changeset.
Differentiate between buildscript and project lock files

Previously, the buildscript lockfiles would potentially be overwritten

by the project ones if configurations happened to have the same name.

Fixes #5845

    • -8
    • +81
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 5 more files in changeset.
Enable locking for buildscript classpath

This is the shortest solution that works but still requires polishing.

* Make sure the configuration name cannot clash with a similar name in

the project

Issue #5845

    • -10
    • +106
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 4 more files in changeset.
Improve dependency locking test coverage

Issue #4904

    • -0
    • +62
    ./UsingLockingOnNonProjectConfigurationsIntegrationTest.groovy
  1. … 4 more files in changeset.