Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix equalChars

Two characters are the same when the lowercase or the uppercase form

are the same.

Register implicit capabilities for conflict detection in more cases (#11334)

In general conflict detection for implicit capabilities is skipped

for performance optimization. However, if the corresponding capability

is explicitly declared by another component that was visited *before*,

we need to do the conflict detection between the component with

the implicit capability and the one visited earlier.

See also: #11300

Register implicit capabilities for conflict detection in more cases (#11334)

In general conflict detection for implicit capabilities is skipped

for performance optimization. However, if the corresponding capability

is explicitly declared by another component that was visited *before*,

we need to do the conflict detection between the component with

the implicit capability and the one visited earlier.

See also: #11300

Allow publication artifacts to be defined as files through providers

*Updated solution based on feedback to #11329*

This used to work in Gradle 5.5 (see #11054).

The combination of #9467 and #6775 broke this.

A builtBy dependency is added if the artifact is a TaskDependencyContainer,

which all Providers are (#9467). This dependency was silently doing

nothing in case of a plain File/String. This became an error (#6775)

because a File/String is nothing that can be resolved to a task.

We now only add a builtBy dependency, if the provider value or content is

actually produced by a task.

Allow publication artifacts to be defined as files through providers

*Updated solution based on feedback to #11329*

This used to work in Gradle 5.5 (see #11054).

The combination of #9467 and #6775 broke this.

A builtBy dependency is added if the artifact is a TaskDependencyContainer,

which all Providers are (#9467). This dependency was silently doing

nothing in case of a plain File/String. This became an error (#6775)

because a File/String is nothing that can be resolved to a task.

We now only add a builtBy dependency, if the provider value or content is

actually produced by a task.

Fix path-insensitive comparison

An example test failure

Capture diff between the current branch and master

Example test failure

Fix for previous commit.

Fix for previous commit.

Fix for previous commit.

Fix for previous commit.

Add a method to `Task` to allow runtime registration of the services that the task will use.

This is intended really just to be a placeholder for some kind of API where the usage can be declared.

Remove the `requiresResource()` methods from `AbstractTask`. In particular, remove the ability to express "how much" of the resource the task will use. For now, assume that usage by each task has equal weight.

Add a method to `Task` to allow runtime registration of the services that the task will use.

This is intended really just to be a placeholder for some kind of API where the usage can be declared.

Remove the `requiresResource()` methods from `AbstractTask`. In particular, remove the ability to express "how much" of the resource the task will use. For now, assume that usage by each task has equal weight.

Add a method to `Task` to allow runtime registration of the services that the task will use.

This is intended really just to be a placeholder for some kind of API where the usage can be declared.

Remove the `requiresResource()` methods from `AbstractTask`. In particular, remove the ability to express "how much" of the resource the task will use. For now, assume that usage by each task has equal weight.

Add a method to `Task` to allow runtime registration of the services that the task will use.

This is intended really just to be a placeholder for some kind of API where the usage can be declared.

Remove the `requiresResource()` methods from `AbstractTask`. In particular, remove the ability to express "how much" of the resource the task will use. For now, assume that usage by each task has equal weight.

Update released version to latest snapshot

Update library versions in build init to latest for 6.2

Update version to 6.2

Clean release notes and welcome message for 6.2

    • -29
    • +8
    /subprojects/docs/src/docs/release/notes.md
Clean accepted API changes

Remove unused import

Add OS as inputs for unit tests (#11310)

This closes https://github.com/gradle/gradle-private/issues/2831

Previously we only add OS as inputs for integration tests but not for unit tests. This results in missing test coverage for some unit tests.

We need to add OS as inputs of unit test task as well.

Test fixes for previous commit.

Test fixes for previous commit.

Test fixes for previous commit.

Move the task-specific logic that determines the resources used by a task out of `DefaultExecutionPlan` and into the node implementations.

Most of this logic moves into `AbstractTask` and `DefaultBuildServiceRegistry` and the node deletegates to these.

Move the task-specific logic that determines the resources used by a task out of `DefaultExecutionPlan` and into the node implementations.

Most of this logic moves into `AbstractTask` and `DefaultBuildServiceRegistry` and the node deletegates to these.

Move the task-specific logic to determine the resources used by a task out of `DefaultExecutionPlan` and into the node implementations.

Most of this logic moves into `AbstractTask` and `DefaultBuildServiceRegistry`.