Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added a session scoped `ListenerManager` to allow events to be received and to be generated at session scope.

Moved `FileHasher` up to session scope from each build scope.

Javadocs.

Added `toString()` implementations to several classes.

Moved validation of certain aspects of the provided `StartParameters` to happen early at the start of the session, so that the values can be used during session setup. The validation used to happen much later.

Also added some error reporting around the session, so that any unreported exception that happens during the session is correctly reported and transformed. For example, a failure to setup the session services.

Fixed test fixtures to correctly capture logging output when running in-process for logging messages generated outside the build started - build finished events, such as those generated during session setup and tear down.

Reduced the memory required for `FileSnapshot` instances.

Improved performance when searching for the result of an artifact transform.

Assume that files and directories that live in the downloaded artifact cache or artifact transform output cache are unlikely to change during a build, and so calculate the content hash for these files only once per build. A previous change removed the multiple scanning of these files, however, the calculation of the hash from the snapshot is currently still expensive, so do this only once per build.

Maintain a faster in-memory cache of transform -> result, in order to check whether the result still exists once per build.

Remove deprecated system property org.gradle.cache.tasks.http.uri

+review REVIEW-6503

Fix performance issue when lots of specs of intersection exclusions are the same

Fixes gradle/gradle#1801

Revert "Use child classloader to load tasks to be validated"

This reverts commit 14040cda6fa157fdb7a896aaf79a48be537f2940.

Use child classloader to load tasks to be validated

+review REVIEW-6501

Add unit test covering ScriptPluginFactorySelector

Mention changes in release notes.

    • -0
    • +3
    /subprojects/docs/src/docs/release/notes.md
Prefer Settings.DEFAULT_SETTINGS_FILE over inline “settings.gradle”

Remove TaskOutputs.doNotCacheIf(Spec)

Must use the one with a reason.

Fix test name

Remove support for chained calls of TaskOutputs methods

This breaks binary compatibility with Gradle 2.0.

Remove unnecessary integration test

This used to test the absence of deprecation warnings for `@OrderSensitive`.

Remove TaskInputs.source() and sourceDir()

Remove support for chained calls of TaskInputs methods

This breaks binary compatibility with Gradle 2.0.

Remove TaskInternal.isCacheable()

Use a collection rather than a map to represent the elements of a file collection snapshot when calculating the hash of the snapshot.

Fixed typo in method name.

Fixed unit test on Windows.

Fixed handling of the root directories on Windows when making decision whether a file belongs to a particular directory hierarchy. Really only likely to affect our unit tests.

Changed file snapshotting to assume that files and directories contained in the downloaded artifact and artifact transform output caches do not change during a build, and so to make snapshotting faster.

File system state cached in-memory during a build for these files and directories is not discarded when a task action runs. This avoids scanning the file system potentially many times during a build over files that have almost certainly not changed. All other file system state is still discarded. This strategy is intentionally very simple and can be improved later.

This change also means that jars from the artifact transform output cache are not copied into the jar cache when included in a classpath from which Gradle needs to create a `ClassLoader`. This was already the case for jars from the downloaded artifacts cache.

Fix test

The constructor was removed.

Removing workaround that should no longer be necessary

Avoid running new Play integration test on Java 9

Twirl + Scala support is broken on Java 9. Adding this test to the

excludes list.