Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Merge pull request #11347 from gradle/bamboo/release/11335/i

Preserve behaviour of `fileTree(mapOf(...))` for backward compatibility

Merge pull request #11331 from gradle/wolfs/java-compile/fix-android

Fix AndroidJavaCompile not detecting incremental changes

Polish the enabling of partial VFS invalidation

Polish the enabling of partial VFS invalidation

Name boolean parameters

Name boolean parameters

Simplify enabling feature previews from tests

Add 5.6.4 to released versions

Merge branch 'release'

Accept breaking change

The breaking change actually fixes the problem.

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.