Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move all subprojects to the `subprojects` directory

    • -88
    • +0
    /plugins-experiments/build.gradle.kts
  1. … 507 more files in changeset.
Merge pull request #882 from gradle/bamboo/develop/script-plugin-classpath

Provide correct classpath for script plugins with buildscript blocks

Merge pull request #882 from gradle/bamboo/develop/script-plugin-classpath

Provide correct classpath for script plugins with buildscript blocks

Fix failed BrokenTextResourceIntegrationTest

Polish `KotlinBuildScriptModelBuilder`

- Make `ScriptSource` resource descriptions the same as core Gradle

- Make child `ClassLoaderScope` ids similar to core Gradle but avoid clashes

Polish `KotlinScriptFactory`

- Organize imports

- Rename function for clarity

- Rename parameter for clarity

- Favor block form for `if` statement

Avoid unexpected http resource cache hit (#5416)

See https://github.com/gradle/gradle-private/issues/1273

Since different tests share the same user home, some unexpected cache hit

might happen when two different test resources are assigned same port.

This PR uses unique resource name to avoid that.

Add test coverage for console attached to stderr but not stdout

Remove circular reference

Realize fewer tasks in the gradle/gradle build

Use configureEach over configureEachLater

configureEachLater is going to be removed.

    • -1
    • +1
    /subprojects/integ-test/integ-test.gradle
    • -2
    • +2
    /subprojects/performance/templates.gradle
Remove the now unnecessary `initScriptClassPathFor` function

And simplify `BuildscriptBlockEvaluator`.

Compute init script classpath via `KotlinScriptFactory`

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