Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move the functional tests for concurrent usage of build services into a separate test class, and fix for instant execution.

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

  1. … 10 more files in changeset.
Fix `:instantExecution` warnings

  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.

  1. … 9 more files in changeset.
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.

  1. … 11 more files in changeset.
Serialize `Provider` instances that provide a mapped task output so that the mapping is applied at execution time, rather than calculating the value eagerly.

  1. … 8 more files in changeset.
Refactor serialization for instant execution cache so that property values are writen/read as `Provider` instances, and these provider instances connected in as the value of the property.

This will allow providers whose value cannot be eagerly evaluated to be serialized differently to those whose value is known when serializing.

  1. … 4 more files in changeset.
Move serialization of `Provider` types to several `Codec` implementations, rather than hard-coded into bean serialization.

    • -0
    • +129
    ./ProviderCodecs.kt
  1. … 7 more files in changeset.