Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Serve correct classpath for `Settings` script plugins

Update to latest nightly with lazy task API changes

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Partially push instantiator through all containers

  1. … 19 more files in changeset.
Skip the script body when computing the classpath of a script plugin

The body of script plugins will still be executed when they are

applied from other scripts as they might affect the classpath of the

applying script.

Simplify ConsoleAttachment so that it always carries the console metadata with it

Use `KotlinScriptFactory` to compute the script plugin classpath

- It is faster than going through the `ScriptPluginFactory`

indirection

- We can more easily change its API

Make rich/verbose consoles behave similar to plain when streams are not attached

  1. … 10 more files in changeset.
Add coverage to check publication of project dependencies with attributes

Merge pull request #5403 from gradle/dd/dependency-insight/variant-attributes

Fix issues rendering attributes in the `dependencyInsight` report

Make caching aware of injected services

This commit introduces snapshotting of injected services. Whenever a rule is going

to use a service, we need to know what "state" from this service is relevant (that

is to say, is a rule input) so that we can properly cache the rule whenever the

service changes. For component metadata supplier rules, the rule may use a repository

resource accessor, which is repository based. This means that a rule must be cached

based on the repository it was applied from. For this we introduced a `ValueSnapshottable`

interface that services (or other Gradle classes) may implement if they are snapshottable,

that is to say part or all of their state participate in a cache key.

Make caching aware of injected services

This commit introduces snapshotting of injected services. Whenever a rule is going

to use a service, we need to know what "state" from this service is relevant (that

is to say, is a rule input) so that we can properly cache the rule whenever the

service changes. For component metadata supplier rules, the rule may use a repository

resource accessor, which is repository based. This means that a rule must be cached

based on the repository it was applied from. For this we introduced a `ValueSnapshottable`

interface that services (or other Gradle classes) may implement if they are snapshottable,

that is to say part or all of their state participate in a cache key.

Merge pull request #5412 from gradle/sg/lazy/redo-api

Add new replacements for lazy task API

Clean up least recently used entries in artifact transforms cache

The files in the transforms cache are now automatically cleaned up based

on a least recently used strategy. The structure in the cache is as

follows:

- files-1.1

- artifact-a

- hash 1 (*)

- hash 1.1

- ...

- hash 2 (*)

- ...

- ...

- metadata-1.1

The cache now keeps track of files accessed inside the first hash (*)

level by touching the corresponding directory. The cleanup action then

deletes all such directories that have not been accessed in the last 7

days.

Issue: #1085

Cancel performance scenarios when coordinator is cancelled

Fix WorkGraph.getTaskDependencies()

It used to return nothing because by the time we usually asked about it the dependency nodes were already removed from the graph.

Process newly orphaned nodes in one go

When a node starts executing, we remove some of its outgoing edges, which means that in turn we might get a new root node. This change makes sure that we try to schedule that new root node before we switch to handling events.

Revert "Add small note about configuration time improvements"

This reverts commit 0fbeac8dc483f413ea8fc153e3fe68a0bf6dc855.

    • -4
    • +0
    /subprojects/docs/src/docs/release/notes.md
Remove tasks with constructor arguments from the preamble

    • -2
    • +0
    /subprojects/docs/src/docs/release/notes.md
Merge branch 'release'

Merge pull request #5411 from gradle/wolfs/build-cache/javadoc-improvement

Minor adjustment of build cache javadoc

Make software model tasks accessible using abbreviated names again

This was broken by a refactoring towards lazy task configuration,

because we had no test coverage for this case.

Merge pull request #5417 from gradle/wolfs/core/fix-finalizer-bug

Fix bug when finalizer tasks ran too early

Fix checkstyle rule

There was a duplicate MethodTypeParameterName rule in checkstyle config, leading

to the wrong rule being used (the one that prevents MULTILETTER type variables).

Fix checkstyle rule

There was a duplicate MethodTypeParameterName rule in checkstyle config, leading

to the wrong rule being used (the one that prevents MULTILETTER type variables).

Merge pull request #877 from gradle/eskatos/version/kotlin-dsl

Generate versions manifest properties file

Update wrappers to latest snapshot distro

Merge tag 'v0.17.4' into develop

Extract lower-level `KotlinScriptFactory` service

So it can be used to evaluate standalone script plugins in order to

serve their compilation classpaths to the IDE.

Remove 'Some person' from contributors in release notes

Signed-off-by: Björn Kautler <Bjoern@Kautler.net>

    • -0
    • +1
    /subprojects/docs/src/docs/release/notes.md
Properly handle snapshot versions in dependency locking

Effectively does that by ignoring the timestamp and only locking - and

validating - the base -SNAPSHOT version.

Added a warning in case changing dependencies are detected while

persisting lock state, with a link to documentation.

Added info in the documentation that this situation will cause warnings.

Fixes #5413