internal

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make `CorruptedTaskHistoryIntegrationTest` less flaky

    • -15
    • +53
    ./changedetection/CorruptedTaskHistoryIntegrationTest.groovy
Return some incremental execution results in an immutable way

We now use TaskExecuterResult instead of TaskExecutionContext.

    • -1
    • +1
    ./tasks/execution/ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 16 more files in changeset.
Return some incremental execution results in an immutable way

We now use TaskExecuterResult instead of TaskExecutionContext.

    • -1
    • +1
    ./tasks/execution/ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 15 more files in changeset.
Return some incremental execution results in an immutable way

We now use TaskExecuterResult instead of TaskExecutionContext.

    • -1
    • +1
    ./tasks/execution/ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 15 more files in changeset.
Return some incremental execution results in an immutable way

We now use TaskExecuterResult instead of TaskExecutionContext.

    • -1
    • +1
    ./tasks/execution/ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 15 more files in changeset.
Return some incremental execution results in an immutable way

We now use TaskExecuterResult instead of TaskExecutionContext.

    • -1
    • +1
    ./tasks/execution/ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 15 more files in changeset.
Return some incremental execution results in an immutable way

We now use TaskExecuterResult instead of TaskExecutionContext.

    • -1
    • +1
    ./tasks/execution/ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 15 more files in changeset.
More test coverage for extension creation

    • -0
    • +107
    ./model/ObjectFactoryExtensionsIntegrationTest.groovy
    • -0
    • +23
    ./model/ObjectFactoryIntegrationTest.groovy
More test coverage for extension creation

    • -0
    • +107
    ./model/ObjectFactoryExtensionsIntegrationTest.groovy
    • -0
    • +23
    ./model/ObjectFactoryIntegrationTest.groovy
Add support for read-only properties with type `ConfigurableFileCollection` with an abstract getter on types instantiated by Gradle. Gradle will provide an implementation of the property and (lazily) create a file collection instance as required.

Currently works only in those places where project scope services are visible. This does not include the parameters object for an artifact transform. A subsequent commit will allow this feature to be used in more places.

    • -2
    • +54
    ./model/ObjectFactoryIntegrationTest.groovy
  1. … 6 more files in changeset.
Add support for read-only properties with type `ConfigurableFileCollection` with an abstract getter on types instantiated by Gradle. Gradle will provide an implementation of the property and (lazily) create a file collection instance as required.

Currently works only in those places where project scope services are visible. This does not include the parameters object for an artifact transform. A subsequent commit will allow this feature to be used in more places.

    • -2
    • +54
    ./model/ObjectFactoryIntegrationTest.groovy
  1. … 6 more files in changeset.
Rename {Validating -> Property}Value

The value doesn't validate any more.

    • -5
    • +5
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 37 more files in changeset.
Change class generation to accept interface types. The interface may define mutable properties and an implementation is mixed in for each mutable property. The interface may also define `default` methods, `@Inject` properties and may extend `ExtensionAware`. Immutable properties with lazy types (eg `Property`) are not supported yet.

This commit does not include any validation or documentation. These will be added in later commits.

    • -4
    • +35
    ./model/ObjectFactoryIntegrationTest.groovy
  1. … 9 more files in changeset.
Remove PropertySpecFactory

    • -2
    • +2
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 33 more files in changeset.
Adapt visitLocalStateProperty

    • -2
    • +2
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 12 more files in changeset.
Adapt visitDestroyableProperty

    • -2
    • +2
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 8 more files in changeset.
Adapt visitOutputFileProperty

    • -5
    • +5
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 34 more files in changeset.
Adapt visitInputProperty

    • -2
    • +2
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 15 more files in changeset.
The visitor should handle all the creation

Especially the annotation handler should not need the file resolver.

    • -3
    • +3
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 44 more files in changeset.
Don't use propertySpecFactory for input files

    • -7
    • +7
    ./project/taskfactory/TaskPropertyNamingIntegrationTest.groovy
  1. … 51 more files in changeset.
Improve error reporting when attempting to instantiate an interface or a non-static inner class.

    • -0
    • +43
    ./model/ObjectFactoryIntegrationTest.groovy
  1. … 9 more files in changeset.
Allow abstract service injection getter methods on decorated types.

    • -0
    • +31
    ./model/ObjectFactoryIntegrationTest.groovy
  1. … 6 more files in changeset.
Add some validation of extension constructors, and tweak some error messages.

    • -1
    • +1
    ./model/ObjectFactoryIntegrationTest.groovy
  1. … 15 more files in changeset.
Ensure extensions attached to decorated objects have access to the same services as the decorated object.

    • -272
    • +0
    ./model/DefaultObjectFactoryIntegrationTest.groovy
    • -0
    • +322
    ./model/ObjectFactoryIntegrationTest.groovy
  1. … 13 more files in changeset.
Allow `@Inject` getter of an object to be called from the object's constructor. Previously this worked for tasks but would fail with a NPE for other decorated types.

    • -2
    • +0
    ./model/CustomPluginObjectFactoryIntegrationTest.groovy
    • -1
    • +32
    ./model/DefaultObjectFactoryIntegrationTest.groovy
  1. … 10 more files in changeset.
Add some test coverage of service injection into various types of domain objects.

    • -0
    • +25
    ./model/DefaultObjectFactoryIntegrationTest.groovy
  1. … 4 more files in changeset.
Report relative path for overlapping outputs (#7816)

when caching has been disabled.

    • -1
    • +1
    ./tasks/TaskCacheabilityReasonIntegrationTest.groovy
  1. … 4 more files in changeset.
Increase UserInputHandlingIntegrationTest timeout

Previously we have encountered a lot of timeout in UserInputHandlingIntegrationTest,

now we simply increase the timeout to see how it works.

    • -3
    • +4
    ./tasks/userinput/UserInputHandlingIntegrationTest.groovy
Add empty settings.gradle to UserInputHandlingIntegrationTest

Looking at the history of UserInputHandlingIntegrationTest, some of them costs over 10 seconds to start,

which seems to be caused by lacking proper settings.gradle file. Now we add an empty one.

    • -0
    • +2
    ./tasks/userinput/UserInputHandlingIntegrationTest.groovy
Do not discard task execution failure when a `afterTask` handler fails. Instead, report both failures in the build outcome.

Also wrap `beforeTask` and `afterTask` failures in a contextual "task failed" exception.

    • -4
    • +4
    ./tasks/execution/ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 11 more files in changeset.