Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Merge branch 'release'

Re-use `TaskDependencyResolveContext` during task graph building (#3807)

All dependency resolution in Gradle should happen via TaskDependencyResolveContext during when building the task graph. Calling `DefaultTaskDependency.getDependencies(task)` should be avoided since it creates a new `TaskDependencyResolveContext` and needs to calculate the dependencies again.

`SkipTaskWithNoActionsExecuter` now re-uses the `TaskExecutionGraph` to determine the dependencies of a task instead of re-evaluating them.

After this commit, the task properties are resolved at three places:

- When building the task graph for walking the input files

- When checking if there a task can be executed in parallel with the currently running tasks based on on the declared outputs, destroyables and task local state

- For using the task properties during task execution

The last two places could still be unified into one, but that seems to be a little bit more complicated.

  1. … 9 more files in changeset.
Published 4.5-20180105122034+0000

Fix Asciidoctor properties

Signed-off-by: Lóránt Pintér <>

Mention advanced pom support and module metadata format in release notes

Signed-off-by: Jendrik Johannes <>

    • -3
    • +12
Revised feature preview documentation

Signed-off-by: Jendrik Johannes <>

Code cleanup

Signed-off-by: Lóránt Pintér <>

Update release notes

Signed-off-by: Lóránt Pintér <>

    • -0
    • +16
Start nested iterable naming from zero

Signed-off-by: Stefan Wolf <>

Make unknown nested inputs available to build scan plugin (#3958)

The build scan plugin should be aware when a task is not cached or not

up-to-date if nested inputs have been loaded by a classloader not

managed by Gradle.

Fix tests

Signed-off-by: Lóránt Pintér <>

Use `.class` instead of `.$$implementation` for nested property implementation (#3965)

Instead of introducing a new generated property for nested beans we

should re-use the `.class` property which is already present.

Revert "Use the recent snapshot"

This reverts commit b54e6a16e75daaaaf4ffbeb1a00f296e0cb0a64d.

    • -1
    • +1
Fixed broken test on Windows.

Added methods to `CppBinary` to allow implementation dependencies to be declared for the specific binary.

Added a convenience to allow build logic to be notified when a particular binary received from a `BinaryCollection` has been configured.

Merge branch 'eriwen/docs/build-environment-1' into release

Couple minor updates to build env docs

- Restore org.gradle.warning.mode

- Omit unclear and unnecessary bits

Signed-off-by: Eric Wendelin <>

Link to user manual home in docs footer

Signed-off-by: Eric Wendelin <>

Generate TOC for docs home page

Signed-off-by: Eric Wendelin <>

    • -21
    • +13
Polish Command line interface docs

Signed-off-by: Eric Wendelin <>

Draft Release Notes for Gradle 4.5

Signed-off-by: Eric Wendelin <>

    • -57
    • +83
Clarify reasoning for setting up and using internal binary repositories (#3966)

Fixes wordings and the use of implementation vs. compile configuration (#3969)

Okay a little more polish for build env chapter

Signed-off-by: Eric Wendelin <>

Polish Build Environment chapter

Signed-off-by: Eric Wendelin <>

Use title case to be consistent with other chapters (#3967)

Reproduce and fix issue

We did not propagate the settings from the Software Model binary to the link shared library task


Keep generic information consistent (#3963)

Moved Spring-related content to the concrete example.

Order the most commonly-used dependency type first (#3962)