instantexecution

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

  1. … 40 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

  1. … 40 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

  1. … 40 more files in changeset.
Replace usages of `FileResolver.resolveFile()` with `FileCollectionFactory.resolving()` or `FileOperations.immutable()`, so that `FileResolver` can be responsible only for converting scalar values to File-ish values.

  1. … 40 more files in changeset.
Rename method to not be a getter, to avoid being accidentally invoked

  1. … 3 more files in changeset.
Attach the buildSrc export scope to settings

This is the minimal change required to make Kotlin DSL IDE integration

work. When getting a script's classpath fails, we fall back to this

classpath.

  1. … 10 more files in changeset.
Add a codec to serialize `ConcurrentHashMap` instances to the instant execution cache.

    • -0
    • +5
    ./serialization/codecs/CollectionCodecs.kt
  1. … 1 more file in changeset.
Add a codec to serialize `ConcurrentHashMap` instances to the instant execution cache.

    • -0
    • +5
    ./serialization/codecs/CollectionCodecs.kt
  1. … 1 more file in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +3
    ./serialization/codecs/TransformerCodec.kt
  1. … 22 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +3
    ./serialization/codecs/TransformerCodec.kt
  1. … 22 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +3
    ./serialization/codecs/TransformerCodec.kt
  1. … 22 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +3
    ./serialization/codecs/TransformerCodec.kt
  1. … 22 more files in changeset.
Replace some direct instantiation of `FileResolver` instances with a service.

    • -0
    • +3
    ./serialization/codecs/TransformerCodec.kt
  1. … 22 more files in changeset.
Polish `DefaultInstantExecution`

- Prefer expression chain over `if`/`else`

- Avoid intermediate collection allocation

- Compose method for clarity

Let instant execution report include trace of `Serializable` beans

    • -10
    • +15
    ./serialization/codecs/SerializableWriteObjectCodec.kt
  1. … 1 more file in changeset.
Introduce `BeanStateReader.newBeanWithId(id: Int)`

And dedupe identity registration code.

    • -0
    • +6
    ./serialization/beans/BeanStateReader.kt
    • -2
    • +1
    ./serialization/codecs/SerializableWriteObjectCodec.kt
Move identity preserving combinators to `Codec.kt`

    • -27
    • +2
    ./serialization/codecs/BeanCodec.kt
    • -0
    • +2
    ./serialization/codecs/SerializableWriteObjectCodec.kt
    • -0
    • +2
    ./serialization/codecs/SerializableWriteReplaceCodec.kt
Preserve identity of `Serializable` objects

    • -15
    • +34
    ./serialization/codecs/BeanCodec.kt
    • -31
    • +34
    ./serialization/codecs/SerializableWriteObjectCodec.kt
    • -14
    • +19
    ./serialization/codecs/SerializableWriteReplaceCodec.kt
  1. … 1 more file in changeset.
Preserve identity of `Serializable` objects

    • -15
    • +34
    ./serialization/codecs/BeanCodec.kt
    • -31
    • +34
    ./serialization/codecs/SerializableWriteObjectCodec.kt
    • -14
    • +19
    ./serialization/codecs/SerializableWriteReplaceCodec.kt
  1. … 1 more file in changeset.
Polish `SerializableWriteObjectCodec`

- Make cheaper `parameterCount` comparison first

    • -4
    • +4
    ./serialization/codecs/SerializableWriteObjectCodec.kt
Polish `SerializableWriteObjectCodec`

- Make cheaper `parameterCount` comparison first

    • -4
    • +4
    ./serialization/codecs/SerializableWriteObjectCodec.kt
Extract `SerializableWriteReplaceCodec` from `BeanCodec`

    • -76
    • +8
    ./serialization/codecs/BeanCodec.kt
    • -0
    • +48
    ./serialization/codecs/MethodCache.kt
    • -29
    • +1
    ./serialization/codecs/SerializableWriteObjectCodec.kt
    • -0
    • +70
    ./serialization/codecs/SerializableWriteReplaceCodec.kt
  1. … 1 more file in changeset.
Extract `SerializableWriteReplaceCodec` from `BeanCodec`

    • -76
    • +8
    ./serialization/codecs/BeanCodec.kt
    • -0
    • +48
    ./serialization/codecs/MethodCache.kt
    • -29
    • +1
    ./serialization/codecs/SerializableWriteObjectCodec.kt
    • -0
    • +70
    ./serialization/codecs/SerializableWriteReplaceCodec.kt
  1. … 1 more file in changeset.
Polish `BindingsBackedCodec`

- Rename overriden method parameter to match base definition

Polish `BindingsBackedCodec`

- Rename overriden method parameter to match base definition

Polish `BeanCodec`

- Extract `withBeanTrace` so it can be reused in the `Serializable` codecs

- Use slightly cheaper predicate (`parameterCount == 0`)

    • -10
    • +5
    ./serialization/codecs/BeanCodec.kt
Polish `BeanCodec`

- Extract `withBeanTrace` so it can be reused in the `Serializable` codecs

- Use slightly cheaper predicate (`parameterCount == 0`)

    • -10
    • +5
    ./serialization/codecs/BeanCodec.kt
Turn `EncodingProducer` type alias into an interface

    • -36
    • +42
    ./serialization/codecs/BindingsBackedCodec.kt
    • -1
    • +1
    ./serialization/codecs/SerializableWriteObjectCodec.kt
Turn `EncodingProducer` type alias into an interface

    • -36
    • +42
    ./serialization/codecs/BindingsBackedCodec.kt
    • -1
    • +1
    ./serialization/codecs/SerializableWriteObjectCodec.kt
Support serialization of collection and map properties with an element or value that is calculated from a task output.

Also support serialization of set properties.

    • -20
    • +35
    ./serialization/codecs/ProviderCodecs.kt
  1. … 10 more files in changeset.