Gradle

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Allow a task to reference itself when serializing task state to the instant execution cache.

Also handle the remaining primitive types (short and float) and a couple of additional internal services.

Do not run the constructors of tasks that are deserialized from the instant execution cache.

  1. … 8 more files in changeset.
Apply convention mapping to the object that owns the property to which the convention is applied, rather than indirectly via the task instance.

Handle `Double`, `double` and `FileCollectionFactory` types when serializing task state to the instant execution cache.

Handle cycles in the "bean" object graphs written to the instant execution cache.

Also preserve object identity for the "beans" for a given task. That is, if 2 fields for a task reference the same instance of a "bean" when written to the cache, then they will also reference the same instance when read from the cache. Identity is intentionally not preserved across task instances, to keep the tasks isolated.

Merge pull request #9476 from gradle/bamboo/master/instant-execution/polish

Polish `:instantExecution`

Polish `StateSerialization`

- Use pattern `0 until size` for iteration consistently

- Favour indexer over method call

Polish `DefaultInstantExecution`

- Use consistent name for variables holding collection sizes

Remove redundant `return`

Merge pull request #9451 from gradle/lptr/performance/collect-all-jfr-profiles-for-cold-deamon-tests

Collect all JFR recordings for cold daemon performance tests

Merge pull request #9441 from gradle/lptr/core/java-8-in-core-api

Enable the use of Java 8 syntax in Core API

Update BT docs logos

+review DC-3857

    • -1
    • +1
    /subprojects/docs/src/docs/css/base.css
Write values of type `Byte`, `byte` and `Provider<T>` to the instant execution cache.

Publish 5.5-20190520024811+0000

Handle serialization of objects of several more types to the instance execution cache.

Also add some more test coverage of Java builds.

Treat all objects of an unrecognized type as a "bean" when serializing values to the instant execution cache, regardless of whether the type has a zero args constructor.

Also handle values of type `Long` and `long`, and handle bean fields of type `Property`, `DirectoryProperty` and `RegularFileProperty`.

Serialize several more JVM types to the instant execution cache.

Publish 5.5-20190519014033+0000

Do not run the constructors for beans deserialized from the instant execution cache.

Serialize the fields of beans with zero arg constructors to the instant execution cache.

Split out the strategy for serializing the fields of a `Task` object, so that it can be reused to serialize the fields of a bean.

Do not attempt to serialize values that reference certain Gradle types that hold project state, such as `Project` or `Task` instance to the instant execution cache.

Publish 5.5-20190518024614+0000

Split up `InstantExecutionIntegrationTest` into some separate classes.

Merge remote-tracking branch 'origin/release'

* origin/release:

Bump to latest 5.5 nightly

Remove unused file

Merge pull request #9454 from gradle/eskatos/java/missing-override

Enforce @Override in Java code, and add missing annotations

Bump to latest 5.5 nightly

    • -1
    • +1
    /gradle/wrapper/gradle-wrapper.properties
Address review feedback

- nicer cleanup of previous recordings

- mention issue about not running warmup for no daemon cases with profiler enabled

Remove any profiles created during warmup

We shouldn't collect samples from warmup runs.

Publish 5.5-20190517134241+0000