Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Add `BuildServiceParameters.None` marker type that is used to indicate that a build service does not take any parameters, to match the pattern used in other places.

Extract some validation logic from several places so it can be reused in the places where parameterized isolated objects, such as artifact transforms or build services, are registered.

  1. … 35 more files in changeset.
Serialize build service providers to the instant execution cache as a spec that is used to recreate the service instance in subsequent builds.

  1. … 8 more files in changeset.
Enable instant execution only when the system property has a value of 'true', to make it easier for tooling to disable instant execution when it has been enabled.

  1. … 3 more files in changeset.
Ensure that managed task properties that were not initialized prior to serialization can be used after deserialization.

  1. … 1 more file in changeset.
Change instant execution serialization to handle abstract model types.

Reuse the approach used to serialize the state of abstract task types.

  1. … 4 more files in changeset.
Remove support from instant execution for convention mappings used with `Provider` typed properties.

Introduce system property to fail instant execution store on warnings

Main intent is usage in coverage

Signed-off-by: Paul Merlin <>

  1. … 1 more file in changeset.
Only capture declarative includes/excludes on PatternSet

Signed-off-by: Paul Merlin <>

  1. … 1 more file in changeset.
Serialize FileTree pattern set

Signed-off-by: Paul Merlin <>

Merge branch 'release'

  1. … 2 more files in changeset.
Deprecate querying the value of a `Provider` whose value is a mapped a task output file, prior to completion of the producing task.

  1. … 16 more files in changeset.
Make paths/names of included builds immutable (#10998)

Changes the “build path” for included builds to be determined at inclusion time based on the directory name, or a user supplied override. Previously, we tried to use the root project name defined in the included build. This caused a lot of complexity due to it not being known until part way through building the included build.

This change also disallows use of `buildSrc` as a project name, as it collides with the `buildSrc` nested build.

  1. … 72 more files in changeset.
Also get Instant Execution system properties directly

if not in startParameter

This is temporary adding on top of the temporary way to enable

instant execution in order to be able to configure an IDE to always

use instant execution easily.

Signed-off-by: Paul Merlin <>

Move temporarily ignored Android fields to Workarounds

Signed-off-by: Paul Merlin <>

Polish `TransformerCodec.kt`

- Silence warning via `uncheckedCast` utility

Add instant execution codec for ListenerManager service

Signed-off-by: Paul Merlin <>

  1. … 1 more file in changeset.
Run all tasks read from the instant execution cache in parallel. Each of the tasks is isolated from the project state and so can run in parallel.

  1. … 5 more files in changeset.
Fix `:instantExecution` warnings

Polish `ProxyCodec`

- Remove unchecked cast warnings by using specialized operations

- Replace `if (c) e else null` by `e.takeIf { c }`

Support serialization of proxy instances to the instant execution cache. Previously this would work by accident when the cache was read by the same daemon process that wrote to the cache.

Include the property display name, if defined, in error messages when a `Property` value is set using a value or provider whose type is not assignable to the property type.

Also validate and sanitize the values used to set a `Property` convention.

  1. … 9 more files in changeset.
Let instant execution handle ExecOperations service

Signed-off-by: Paul Merlin <>

  1. … 1 more file in changeset.
Work around AGP static state in instant execution

Signed-off-by: Paul Merlin <>

  1. … 1 more file in changeset.
Create immutable file collection when de-serializing

Let instant execution handle FileSystemOperations service

Signed-off-by: Paul Merlin <>

  1. … 1 more file in changeset.
Build buildSrc after applying the settings file (#10305)

Fixes #9094 and #5333

  1. … 54 more files in changeset.
Persist only file tree roots contained in file collections

in the instant execution cache. Before this change, all the files

in the file tree have been persisted instead of the root only.

Do not write bean property names to the instant execution cache. Instead, write and read fields in a deterministic order.

Cache the constructors used to deserialize beans from the instant execution cache across build invocations.

  1. … 3 more files in changeset.
Do not serialize the full exception for a broken `Provider` or `FileCollection` to the instant execution cache, as the serializing the exception is expensive and only a temporary behaviour. Instead, write the messages from the cause chain.