Clone Tools
  • last updated a few seconds ago
Constraints: committers
Constraints: files
Constraints: dates
Add a codec to serialize `ConcurrentHashMap` instances to the instant execution cache.

Merge pull request #10318 from gradle/bamboo/ie/serializable/ii

Improve instant execution support of Java serialization

Replace `nullOutputStream()` by `NullOutputStream.INSTANCE`

Signed-off-by: Rodrigo B. de Oliveira <>

Suppress `unused` warnings from test

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

Remove `mainApkListPersistenceDebug` from the list of unsupported tasks

Introduce `BeanStateReader.newBeanWithId(id: Int)`

And dedupe identity registration code.

Move identity preserving combinators to `Codec.kt`

Merge pull request #10296 from gradle/eskatos/ie/it-agp-3.6

Integration test AGP 3.6 nightly with instant execution

Preserve identity of `Serializable` objects

Polish `SerializableWriteObjectCodec`

- Make cheaper `parameterCount` comparison first

Extract `SerializableWriteReplaceCodec` from `BeanCodec`

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`)

Turn `EncodingProducer` type alias into an interface

Merge pull request #10310 from gradle/bamboo/ie/serializable

Improve instant execution support for `` based types

Increase DaemonErrorFeedbackCrossVersionSpec timeout

Fix `@since` tags.

Merge branch 'patch-1' of

* 'patch-1' of

Add Assisted Inject to list of annotation processors

Merge branch 'patch-1' of

* 'patch-1' of

Use consistent environment configuration override order in docs

Publish 5.6-20190819230034+0000

Add placeholder to release notes for new methods.

    • -0
    • +6
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.

Remove no longer necessary instant execution codecs for `EnumSet` and `EnumMap`

They can be handled via Java serialization now.

Recognize contributor

    • -0
    • +1
recognize contributor

    • -0
    • +1
Improve instant execution support for Java serialization

Properly handle deserialization of graphs containing a mix of

`` beans and plain beans by introducing

`ReadContext.immediateMode`. In immediate mode, reentrant `read` calls

are not suspended for compatibility with the non-suspending semantics

of `ObjectInputStream.readObject`.

The downside of non-suspending semantics is the risk of

`StackOverflowErrors` caused by deep graphs.

Merge pull request #10308 from gradle/breskeby/scan-plugin-2-4-1-rc-1

Use latest Scan plugin 2.4.1-rc-1

Polish `BeanPropertyReader.kt`