Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fire listener when transform not from cache

Remove smoke test for xtend plugin

The xtend plugin is not widely used.

See https://github.com/gradle/gradle/pull/6380#issuecomment-413638802

Update release notes

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Remove CompatibilityAdapterForTaskOutputs

Remove CompatibilityAdapterForTaskInputs

Forbid null as copySpec configuration action (#6409)

#6275

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Remove LenientTaskInputsDeprecationSupport

docs/build_scripts_basics fix three include::sample macro usages

tag= is not supported, only tags= is

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

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 <paul@gradle.com>

docs/build_scripts_basics move samples to groovy/ subdir

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

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

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

Fix typo in release notes

    • -1
    • +1
    /subprojects/docs/src/docs/release/notes.md
Mention the unsafe task replacement deprecation

    • -0
    • +4
    /subprojects/docs/src/docs/release/notes.md
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 <paul@gradle.com>

docs/authoring_maintainable_build_scripts link to Action taking API

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

docs/authoring_maintainable_build_scripts add Kotlin DSL samples

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

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

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

docs/authoring_maintainable_build_scripts move samples to groovy/ subdir

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

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

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

Mention task removal deprecation in release note

    • -0
    • +13
    /subprojects/docs/src/docs/release/notes.md
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

platform).

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.

See https://github.com/gradle/gradle/issues/5939

Use proper method for realized providers

Forbid registering invalid inputs via runtime API

#6280

#6282

  1. … 7 more files in changeset.
Use Spock's Retry extension instead of RetryRule

  1. … 13 more files in changeset.