Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reorganise the `MapProperty` implementation.

  1. … 3 more files in changeset.
Remove an unnecessary interface.

  1. … 6 more files in changeset.
Change `Provider.map()` and `Provider.flatMap()` to allow `null` to be returned by the mapping function.

    • -0
    • +68
    ./gradle/api/internal/provider/AbstractMappingProviderTest.groovy
    • -0
    • +146
    ./gradle/api/internal/provider/AbstractMinimalProviderTest.groovy
    • -82
    • +11
    ./gradle/api/internal/provider/ProvidersTest.groovy
  1. … 9 more files in changeset.
Fix the various property `convention(T)` methods so that they all consistently accept a `null` parameter. Previously some implementations did and some did not.

  1. … 7 more files in changeset.
Report the chain of properties from which a mapped `Provider` has come from, when the value is missing.

  1. … 28 more files in changeset.
Report the chain of properties from which an element of a `ListProperty`, `SetProperty` or entry of a `MapProperty` come from, when the value is missing.

  1. … 6 more files in changeset.
Report the chain of properties from which the value of a `ListProperty`, `SetProperty` and `MapProperty` come from, when the value is missing.

  1. … 19 more files in changeset.
Take field annotation into account for conflicting ignore annotations

When a field is annotated with `@Internal` and the getter is annotated

with another ignore annotation or another input annotation, then

the user should be warned about the conflict.

#11805

  1. … 3 more files in changeset.
Add upgrade guide link for querying mapped values before task completion deprecation

  1. … 2 more files in changeset.
Log documentation reference for deprecation

  1. … 17 more files in changeset.
Move DeprecationLogger to internal.deprecation package

  1. … 79 more files in changeset.
Fix a typo: broadaster -> broadcaster

  1. … 9 more files in changeset.
Fix classycle

  1. … 38 more files in changeset.
Move ImplementationSnapshot to :snapshots

  1. … 37 more files in changeset.
Introduce `ReadContext.readNonNull` and use it to remove warnings

  1. … 10 more files in changeset.
Rename `Managed.{immutable => isImmutable}` for consistency with other boolean properties

  1. … 12 more files in changeset.
When a property has no value, include the chain of properties from which the value is derived in the error message.

This is intended to help with diagnostics, as the user can see where the value should have come from. In this change, the diagnostics only works when `Property<T>` instances are connected together directly, stopping at the first `Provider<T>` which is not such a type.

  1. … 32 more files in changeset.
Allow various Gradle services to be injected into artifact transform actions.

  1. … 14 more files in changeset.
Allow `ExecOperations` and `FileSystemOperations` services to be injected into build service instances.

  1. … 6 more files in changeset.
Let `ValueSourceProvider` assume provided values are always immutable

As documented.

  1. … 1 more file in changeset.
Remove unused import

Let `providers.systemProperty(propertyName)` have no value when `propertyName` has no value

  1. … 1 more file in changeset.
Add tests for `DefaultValueSourceProviderFactory`

    • -0
    • +106
    ./gradle/api/internal/provider/DefaultValueSourceProviderFactoryTest.groovy
  1. … 2 more files in changeset.
Allow a build services to be used as the parameter for isolated objects, such as other build services, artifact transforms or worker API actions.

There are still some missing pieces to this:

- Worker classloader and process isolation is not supported.

- Services are stopped in the order they are created, rather than in reverse dependency order.

- Parallel usage constraints specified for these services are not honoured.

  1. … 17 more files in changeset.
Fix convention mapping applied to a property with a setter with a covariant return type.

  1. … 1 more file in changeset.
Merge 'shared resources' into 'build services', so that each service can optionally have a maximum number of concurrent usages defined.

When scheduling tasks, Gradle will not start a task that uses a build service when there are already the maximum number of tasks already running for that service.

  1. … 21 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. … 32 more files in changeset.
Extract some reusable logic to determine the parameters type of an isolated implementation type, such as a worker API action or a build service.

    • -0
    • +47
    ./gradle/internal/isolated/IsolationSchemeTest.groovy
  1. … 6 more files in changeset.
Support managed properties of type `DomainObjectSet<T>`.

  1. … 5 more files in changeset.
Remove unused import