Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Add support for forcing a platform using a constraint

This commit adds support for aligning a platform to a forced

version using a constraint. Similarly to the dependency case,

this allows forcing the platform, but also implies that the

members of the platform are _also_ forced.

Delete custom RetryRule

Fire listener when transform not from cache

Remove smoke test for xtend plugin

The xtend plugin is not widely used.


Update release notes

    • -0
    • +1
Remove CompatibilityAdapterForTaskOutputs

Remove CompatibilityAdapterForTaskInputs

Forbid null as copySpec configuration action (#6409)


    • -0
    • +1
Remove LenientTaskInputsDeprecationSupport

docs/build_scripts_basics fix three include::sample macro usages

tag= is not supported, only tags= is

Signed-off-by: Paul Merlin <>

docs/build_scripts_basics remove task << section

as this PR will target 5.0-RC1 and there's no Kotlin equivalent

Signed-off-by: Paul Merlin <>

docs/build_scripts_basics move samples to groovy/ subdir

Signed-off-by: Paul Merlin <>

  1. … 76 more files in changeset.
docs/build-script-basics use the include::sample macro

Signed-off-by: Paul Merlin <>

Fix typo in release notes

    • -1
    • +1
Mention the unsafe task replacement deprecation

    • -0
    • +4
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

Improve error message for invalid inputs

docs/authoring_maintainable_build_scripts refine Groovy samples

- prefer the plugins {} block

- disambiguate and unify conditionalLogic/don't

- remove unnecessary {} in GString

Signed-off-by: Paul Merlin <>

docs/authoring_maintainable_build_scripts link to Action taking API

Signed-off-by: Paul Merlin <>

docs/authoring_maintainable_build_scripts add Kotlin DSL samples

Signed-off-by: Paul Merlin <>

  1. … 7 more files in changeset.
docs/authoring_maintainable_build_scripts samples have settings script

Signed-off-by: Paul Merlin <>

docs/authoring_maintainable_build_scripts move samples to groovy/ subdir

Signed-off-by: Paul Merlin <>

  1. … 15 more files in changeset.
docs/authoring_maintainable_build_scripts use the include::sample macro

Signed-off-by: Paul Merlin <>

Mention task removal deprecation in release note

    • -0
    • +13
Disallow container mutation during lazy configuration

Merge pull request #6049 from gradle/lacasseio/lazy/deprecate-task-removal

Deprecate `TaskContainer#remove*` methods for Gradle 6.0

Support enforcing a platform using a direct dependency on the platform

Currently this _only_ sets a **force** flag on the platform dependency

transparently. There might be the need to do more in the future, in

particular as soon as we integrate with external platforms (BOMs) published

at coordinates representing different types of components (library and


There is a consequence in using a dependency, that is the published POM

file will be invalid for Maven consumers.

It's worth noting that in this context, "force" is stronger than a "force"

on a regular dependency: because it's a virtual platform, the engine will

make sure that the edged from the platform to its components are forced

too. In other words, the platform is forced **and** its components.

Note, however, that this is **NOT** true if the target platform is a

published component: in this case, the platform is forced, but the components

of the platform use the rules of the published platform. If the edges are

not forced, the component versions may be upgraded.

Change the user prompt infrastructure to give the user some feedback when they enter a value that isn't valid for the question. Add some test coverage for user prompting.

  1. … 10 more files in changeset.
Make watchpoint registration faster

The watchpoint registration algorithm was quadratic in the

number of input files that all the tasks in a build had.

This was particularly visible in the case of the Kotlin plugin,

which had one task that used individual class files instead of a

file tree for a class directory. The overhead for that project

dropped from about 1 minute to near zero.


Use proper method for realized providers