instantexecution

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add some Javadocs and clean up Kotlin code formatting.

    • -0
    • +2
    ./serialization/codecs/IsolateableCodec.kt
    • -4
    • +8
    ./westline/DefaultWestlineServiceFactory.kt
  1. … 7 more files in changeset.
Serialize service providers to the instant execution cache, and lazily reconstruct the service after reading from the cache.

    • -0
    • +37
    ./serialization/codecs/IsolateableCodec.kt
    • -52
    • +98
    ./serialization/codecs/ProviderCodecs.kt
    • -11
    • +2
    ./serialization/codecs/TransformerCodec.kt
    • -38
    • +47
    ./westline/DefaultWestlineServiceFactory.kt
  1. … 1 more file in changeset.
Close `AutoCloseable` services on build finished event rather than during service tear down.

    • -7
    • +20
    ./westline/DefaultWestlineServiceFactory.kt
  1. … 1 more file in changeset.
Close services that implement `AutoCloseable` at the end of a build.

    • -1
    • +7
    ./westline/DefaultWestlineServiceFactory.kt
  1. … 1 more file in changeset.
Close services that implement `Closeable` at the end of a build.

    • -6
    • +16
    ./westline/DefaultWestlineServiceFactory.kt
  1. … 1 more file in changeset.
Create service lazily.

    • -1
    • +1
    ./westline/DefaultWestlineServiceFactory.kt
  1. … 1 more file in changeset.
Instantiate shared service once

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

    • -1
    • +2
    ./westline/DefaultWestlineServiceFactory.kt
  1. … 1 more file in changeset.
First cut of lifecycled shared services

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

    • -0
    • +84
    ./westline/DefaultWestlineServiceFactory.kt
  1. … 6 more files in changeset.
Merge branch 'release'

  1. … 2 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.
Disallow builds defining a project at :buildSrc

This is already prohibited by the composite build machinery if there is

also a real buildSrc project. This change makes the failure earlier and

more obvious.

  1. … 8 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 <paul@gradle.com>

Move temporarily ignored Android fields to Workarounds

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

Polish `TransformerCodec.kt`

- Silence warning via `uncheckedCast` utility

    • -1
    • +2
    ./serialization/codecs/TransformerCodec.kt
Add instant execution codec for ListenerManager service

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

  1. … 1 more file in changeset.
Add instant execution codec for ListenerManager service

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

  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.

    • -2
    • +4
    ./serialization/codecs/TaskNodeCodec.kt
  1. … 5 more files 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.

    • -2
    • +4
    ./serialization/codecs/TaskNodeCodec.kt
  1. … 5 more files in changeset.
Fix `:instantExecution` warnings

    • -3
    • +8
    ./serialization/codecs/ArtifactCollectionCodec.kt
    • -19
    • +23
    ./serialization/codecs/ProviderCodecs.kt
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.

    • -0
    • +48
    ./serialization/codecs/ProxyCodec.kt
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.

    • -0
    • +48
    ./serialization/codecs/ProxyCodec.kt
Fixes for previous commit.

    • -34
    • +4
    ./serialization/codecs/ProviderCodecs.kt
  1. … 4 more files in changeset.
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.

    • -34
    • +4
    ./serialization/codecs/ProviderCodecs.kt
  1. … 9 more files in changeset.
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.

    • -34
    • +4
    ./serialization/codecs/ProviderCodecs.kt
  1. … 9 more files in changeset.
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.

    • -34
    • +4
    ./serialization/codecs/ProviderCodecs.kt
  1. … 9 more files in changeset.
Let instant execution handle ExecOperations service

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

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

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

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

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

    • -0
    • +50
    ./serialization/Workarounds.kt
  1. … 1 more file in changeset.
Work around AGP static state in instant execution

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

    • -0
    • +50
    ./serialization/Workarounds.kt
  1. … 1 more file in changeset.