Gradle

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

Prepare for 6.0.1

Prepare for 6.0.1

Add Android Application sample

  1. … 43 more files in changeset.
Add more Javadoc

Move invalidation of file systems to build-session scope

We can invalidate both file systems via the routing one. This simplifies further changes.

Polish `DefaultKotlinScript`

- Reduce scope of unchecked_cast annotation

Polish `KotlinBuildScriptIntegrationTest`

- Replace `iterable.map(f).joinToString()` by `iterable.joinToString(f)`

Move tests from PathUtil test to case sensitive classes

Polish Javadoc

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