Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix for previous commit.

Ensure that the implementation hash for a task defined in a Groovy DSL build script is the same when the task is deserialized from the instant execution cache as when it was serialized to cache.

Previously, a task defined in a Groovy DSL script was always treated as out-of-date when first deserialized from the instant execution cache.

  1. … 7 more files in changeset.
Ensure that the implementation hash for a task defined in a Groovy DSL build script is the same when the task is deserialized from the instant execution cache as when it was serialized to cache.

Previously, a task defined in a Groovy DSL script was always treated as out-of-date when first deserialized from the instant execution cache.

  1. … 6 more files in changeset.
Ensure that the implementation hash for a task defined in a Groovy DSL build script is the same when the task is deserialized from the instant execution cache as when it was serialized to cache.

Previously, a task defined in a Groovy DSL script was always treated as out-of-date when first deserialized from the instant execution cache.

  1. … 7 more files in changeset.
Fix for previous commit.

  1. … 1 more file in changeset.
Simplify and improve the reliability of serializing classes to the instant execution cache.

Fixes a case where loading the instant execution cache after writing a task graph that references a different set of build scripts to that referenced last time the task graph was written.

  1. … 7 more files in changeset.
Simplify and improve the reliability of serializing classes to the instant execution cache.

Fixes a case where loading the instant execution cache after writing a task graph that references a different set of build scripts to that referenced last time the task graph was written.

  1. … 7 more files in changeset.
Fix `ClassNotFoundExeception` when loading objects whose class is defined in a build script from the instant execution cache, after recreating the cache from a daemon process that has previously successfully used the cache.

For example, running `gradle taskA`, `gradle taskA`, `gradle taskB`, `gradle taskB` would fail if `taskB` uses types from a build script.

This was happening because the script ClassLoaders are cached and reused, but the association between ClassLoader and scope was lost, and this association is what instant execution uses to know how to load the class.

This change fixes one case of this problem, but the same problem can still happen if the set of build scripts being referenced changes.

  1. … 25 more files in changeset.
Fix `ClassNotFoundExeception` when loading objects whose class is defined in a build script from the instant execution cache, after recreating the cache from a daemon process that has previously successfully used the cache.

For example, running `gradle taskA`, `gradle taskA`, `gradle taskB`, `gradle taskB` would fail if `taskB` uses types from a build script.

This was happening because the script ClassLoaders are cached and reused, but the association between ClassLoader and scope was lost, and this association is what instant execution uses to know how to load the class.

This change fixes one case of this problem, but the same problem can still happen if the set of build scripts being referenced changes.

  1. … 21 more files in changeset.
Fix `ClassNotFoundExeception` when loading objects whose class is defined in a build script from the instant execution cache, after recreating the cache from a daemon process that has previously successfully used the cache.

For example, running `gradle taskA`, `gradle taskA`, `gradle taskB`, `gradle taskB` would fail if `taskB` uses types from a build script.

This was happening because the script ClassLoaders are cached and reused, but the association between ClassLoader and scope was lost, and this association is what instant execution uses to know how to load the class.

This change fixes one case of this problem, but the same problem can still happen if the set of build scripts being referenced changes.

  1. … 25 more files in changeset.
Fix `ClassNotFoundExeception` when loading objects whose class is defined in a build script from the instant execution cache, after recreating the cache from a daemon process that has previously successfully used the cache.

For example, running `gradle taskA`, `gradle taskA`, `gradle taskB`, `gradle taskB` would fail if `taskB` uses types from a build script.

This was happening because the script ClassLoaders are cached and reused, but the association between ClassLoader and scope was lost, and this association is what instant execution uses to know how to load the class.

This change fixes one case of this problem, but the same problem can still happen if the set of build scripts being referenced changes.

  1. … 21 more files in changeset.
Move the functional tests for concurrent usage of build services into a separate test class, and fix for instant execution.

  1. … 9 more files in changeset.
Move the functional tests for concurrent usage of build services into a separate test class, and fix for instant execution.

  1. … 9 more files in changeset.
Move the functional tests for concurrent usage of build services into a separate test class, and fix for instant execution.

  1. … 9 more files in changeset.
Tweak messages for previous commit, fixes.

  1. … 11 more files in changeset.
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.
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.
Let InstantExecutionGradleExecuter set instant execution quiet mode

in order to not disturb output assertions

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

  1. … 1 more file in changeset.
Log instant execution problems report summary at warning level

instead of lifecycle

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

Fixes for codec changes.

  1. … 1 more file 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.
Serialize build service providers to the instant execution cache as a spec that is used to recreate the service instance in subsequent builds.

  1. … 7 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.
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.
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.
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.
Merge branch 'master' into westline/services

  1. … 2 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.
Ensure that managed task properties that were not initialized prior to serialization can be used after deserialization.

  1. … 1 more file in changeset.