Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Tweak deprecation message for getExecResult

  1. … 1 more file in changeset.
Make `getExecResult()` consistent between `Exec` and `JavaExec`

  1. … 1 more file in changeset.
Move checksum service to build session scope

and make it use the build scope file inspector:

we can't use the global one because it's bound

to a single hasher which is supposed to be the

file hasher. At the same time our build session

scope checksum hasher will be closed _before_

the inspector invalidates entries, so we need

to make sure our caches use a different inspector.

    • -0
    • +46
    ./main/java/org/gradle/internal/hash/ChecksumHasher.java
  1. … 3 more files in changeset.
Merge remote-tracking branch 'origin/master' into lptr/vfs/do-not-watch-caches

  1. … 1 more file in changeset.
Revert "Darwin file watcher"

  1. … 10 more files in changeset.
Use an independent cache for checksums

Instead of reusing the file hashes cache, which is version dependent,

we're using a cross-version cache (checksums don't depend on the version).

  1. … 2 more files in changeset.
Merge remote-tracking branch 'origin/master' into lptr/vfs/do-not-watch-caches

  1. … 1 more file in changeset.
Address review feedback

  1. … 3 more files in changeset.
Do not use collected attributes from file system walk

They are not reliable on Windows, and are probably not needed in most cases anyway. We can get the same data by querying the file system directly instead.

  1. … 3 more files in changeset.
Put new sentence in Javadoc on new line

Only use the JDK watcher on Linux

So Windows uses a noop watcher now. This means we don't need to wait 2 seconds in our integration tests anymore.

  1. … 2 more files in changeset.
Recognize Kotlin script caches as additive caches

And stop watching compiled Kotlin DSL directories.

  1. … 9 more files in changeset.
Fix error message

Introduce a checksum file cache service

This service is responsible for caching the checksums computed from

local file system. Because it's also used for dependency verification

writing and checking, this cache uses the existing infrastructure which

makes sure that if a file is updated locally, we expire the entry in

the cache.

This is done because there are lots of places in the code where we

used the legacy `HashUtil` class, which has no caching whatsoever.

It's, however, quite common to have a build which generates sha1

checksums multiple times for the same file. For example, during

publication.

  1. … 92 more files in changeset.
Add some details to the 'run work' build operation for the root build to be used by gradle-profiler.

This will allow gradle-profiler to use a metrics collector to measure the time to first task.

  1. … 1 more file in changeset.
Do not run macOS watcher test on any other operating system

Rename WellKnownFileLocatoins to AdditiveCacheLocations

Clarify this to be a VFS-related concept and move classes to the VFS package in :core.

  1. … 9 more files in changeset.
Clean up code in DefaultModuleRegistry

Update to latest snapshot of native-platform

  1. … 1 more file in changeset.
Optimize how to locate metadata file in cache

This commit avoids the use of `search` on the file store

which is quite expensive (18% regression on exclude rule

merging perf test).

Instead we add a method on the filestore to give us the

path to the file given its coordinates.

  1. … 2 more files in changeset.
Remove `@ToBeFixedForInstantExecution` from fixed system property test

Remove `@ToBeFixedForInstantExecution` from fixed system property test

Add native file watcher for Darwin

    • -0
    • +103
    ./main/java/org/gradle/internal/vfs/DarwinFileWatcherRegistry.java
  1. … 4 more files in changeset.
Serialize the build event subscriptions to the instant execution cache.

  1. … 5 more files in changeset.
Introduce `ValueSourceProviderFactory.Listener` and wire instant execution listener

  1. … 3 more files in changeset.
Make jars cache shared

Fix test

Move cache creation for DefaultCachedClasspathTransformer into factory

This is to avoid creating services for it when not needed.

  1. … 2 more files in changeset.
Merge remote-tracking branch 'origin/green-master' into lptr/vfs/watch-this

Extract `WorkerSharedUserHomeScopeServices`

With the services shared between `GradleUserHomeScopeServices` and

`WorkerDaemonServices`.

  1. … 1 more file in changeset.