Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Simplified resolving name of dependent IDE module

For any project that has the appropriate IDE plugin applied, the

name will be taken from the 'published' IDE metadata artifact.

For a project without the IDE plugin applied, we derive the project

name from the project path.

Test IDE deduplication in composite builds

Adds integration test coverage for de-duplication of IDEA module

names in a composite build.

Move task dependency check after project lock

Cache projectlocks in the task execution plan

Cache task dependency complete status

Favor `<expr>.run { ... }` over `with (<expr>) { ... }`

Update wrappers to latest snapshot distro

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
  1. … 5 more files in changeset.
Remove deprecated task caching system properties

+review REVIEW-6503

Renamed a method on `ArtifactVisitor`.

Fixed handling of listeners registered by Gradle user home scope services.

Moved `DefaultTransformedFileCache` up to session scope, to allow state and coordination to be shard by all builds in a Gradle invocation. There used to be an instance in each build scope.

Introduced a listener type that receives notifications of the start and completion of the root, or top-most, build in a particular Gradle invocation.

Changed several services to use this instead of `BuildListener`.

Avoid snapshotting a given file or directory from multiple threads at the same time.

Also moved responsibility for hashing a file/directory and caching the result in-memory from `DefaultTransformedFileCache` to `FileSystemSnapshotter` and friends, so that this is available outside of artifact transform caching and so that there is a single place that makes the decision for whether information for a given file/directory can be reused or should be calculated again.

Fixed test for changes to error message across Gradle versions.

Fixed output when using continuous build and quiet logging together, and added some test coverage for such a thing.

Removed unused field.

Moved the various snapshotters up to session scope, was previously in each build scope. This allows them, or services that use them, to maintain session wide state and do session wide coordination.

Moved setup of requested logging level so that it happens around the entire session. Previously it happened much later in the lifecycle and once per build per invocation. This change means that the logging level applies to all logging done during the session.

Javadocs.

Fixed test for changes to error message.

Shuffled around the exceptions thrown by tapi provider on failed test request. This is really a workaround, pending a clean up of the interaction between the pieces involved in handling a tapi request.

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