Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

Remove `StringScriptSource`, to be replaced with the existing `TextResourceScriptSource`.

Add `ScriptSource.displayName()` to provide a placeholder for the display name of a script to be queried without actually generating the display name strings.

Add `ScriptSource.displayName()` to provide a placeholder for the display name of a script to be queried without actually generating the display name strings.

Add `ScriptSource.displayName()` to provide a placeholder for the display name of a script to be queried without actually generating the display name strings.

Add `ScriptSource.displayName()` to provide a placeholder for the display name of a script to be queried without actually generating the display name strings.

Add `ScriptSource.displayName()` to provide a placeholder for the display name of a script to be queried without actually generating the display name strings.

Add task to run embedded Gradle

Adds a task to all projects which build an

integration test image to also run a Gradle

distribution from the classpath.

The task is called `runDevGradle` and takes

the working directory and the command line

arguments as arguments.

Example invocation:

```

./gradlew fileWatching:runDevGradle --working-dir "/home/user/multiproject" --arg tasks --arg help

```

Add task to run embedded Gradle

Adds a task to all projects which build an

integration test image to also run a Gradle

distribution from the classpath.

The task is called `runDevGradle` and takes

the working directory and the command line

arguments as arguments.

Example invocation:

```

./gradlew fileWatching:runDevGradle --working-dir "/home/user/multiproject" --arg tasks --arg help

```

Polish configuration_cache.adoc

add missing backtick

remove snippet titles that were creating more noise than anything

Signed-off-by: Paul Merlin <paul@gradle.com>

Publish 6.5-20200524075336+0000

Update released version to latest snapshot

Update library versions in build init to latest for 6.7

Update version to 6.7

Merge remote-tracking branch 'origin/master-test' into release-test

Publish 6.5-20200523232053+0000

Introduce InstantExecutionCache with cache cleanup

LRU cleanup with a 7 days max last access time.

File locks required on LOAD because cleanup or a matching STORE could be

running in another daemon.

File locks required on STORE because a matching STORE could be running

in another daemon.

This commit doesn't change the fact that two separate operations are

required on LOAD, first for the fingerprint check, second for loading

the state.

It means two file locks on LOAD. The cached entry (fingerprint + file)

is marked as accessed under their respective file lock. This prevents a

cleanup running in another daemon to delete the cached entry between the

two cache operations.

In the same vein, this commit doesn't change the fact that the cache is

not additive. In other words, it is still possible that entries get

overwritten: same cache key, different fingerprint.

Signed-off-by: Paul Merlin <paul@gradle.com>

Introduce InstantExecutionCache with cache cleanup

LRU cleanup with a 7 days max last access time.

File locks required on LOAD because cleanup or a matching STORE could be

running in another daemon.

File locks required on STORE because a matching STORE could be running

in another daemon.

This commit doesn't change the fact that two separate operations are

required on LOAD, first for the fingerprint check, second for loading

the state.

It means two file locks on LOAD. The cached entry (fingerprint + file)

is marked as accessed under their respective file lock. This prevents a

cleanup running in another daemon to delete the cached entry between the

two cache operations.

In the same vein, this commit doesn't change the fact that the cache is

not additive. In other words, it is still possible that entries get

overwritten: same cache key, different fingerprint.

Signed-off-by: Paul Merlin <paul@gradle.com>

Fix issues with documentation

Polish DefaultInstantExecution

by tightening member visibility

by adding missing TODO keyword to existing comment

Signed-off-by: Paul Merlin <paul@gradle.com>

Polish DefaultInstantExecution

by tightening member visibility

by adding missing TODO keyword to existing comment

Signed-off-by: Paul Merlin <paul@gradle.com>

Move GradleVersion from cache path to configuration cache key

in order to simplify cleanup, manual or automatic

From:

.gradle/configuration-cache/<gradle-version>/<hash>.bin

.gradle/configuration-cache/<gradle-version>/<hash>.fingerprint

To:

.gradle/configuration-cache/<hash>/state.bin

.gradle/configuration-cache/<hash>/fingerprint.bin

Signed-off-by: Paul Merlin <paul@gradle.com>

Move GradleVersion from cache path to configuration cache key

in order to simplify cleanup, manual or automatic

From:

.gradle/configuration-cache/<gradle-version>/<hash>.bin

.gradle/configuration-cache/<gradle-version>/<hash>.fingerprint

To:

.gradle/configuration-cache/<hash>/state.bin

.gradle/configuration-cache/<hash>/fingerprint.bin

Signed-off-by: Paul Merlin <paul@gradle.com>

Change cache layout to group state & fingerprint in a directory

From:

.gradle/configuration-cache/<gradle-version>/<hash>.bin

.gradle/configuration-cache/<gradle-version>/<hash>.fingerprint

To:

.gradle/configuration-cache/<gradle-version>/<hash>/state.bin

.gradle/configuration-cache/<gradle-version>/<hash>/fingerprint.bin

Signed-off-by: Paul Merlin <paul@gradle.com>

Change cache layout to group state & fingerprint in a directory

From:

.gradle/configuration-cache/<gradle-version>/<hash>.bin

.gradle/configuration-cache/<gradle-version>/<hash>.fingerprint

To:

.gradle/configuration-cache/<gradle-version>/<hash>/state.bin

.gradle/configuration-cache/<gradle-version>/<hash>/fingerprint.bin

Signed-off-by: Paul Merlin <paul@gradle.com>

Merge pull request #13213 from gradle/eskatos/cc/more-docs

More documentation for the configuration cache

Update released version to latest snapshot

Update library versions in build init to latest for 6.7