Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add test for ExecuteTaskActionBuildOperationType

Signed-off-by: Volker Leck <volker@gradle.com>

    • -0
    • +62
    ./ExecuteTaskActionBuildOperationTypeIntegrationTest.groovy
Add test for ExecuteTaskActionBuildOperationType

    • -0
    • +62
    ./ExecuteTaskActionBuildOperationTypeIntegrationTest.groovy
Return some incremental execution results in an immutable way

We now use TaskExecuterResult instead of TaskExecutionContext.

    • -1
    • +1
    ./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
    ./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
    ./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
    ./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
    ./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
    ./ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 15 more files in changeset.
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
    ./ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 11 more files in changeset.
Move ExecuteTaskBuildOperationType (#7374)

* Move ExecuteTaskBuildOperationType to org.gradle.api.internal.tasks.execution

* Remove redundant import

    • -0
    • +138
    ./ExecuteTaskBuildOperationTypeIntegrationTest.groovy
  1. … 25 more files in changeset.
Rework plural task output registration APIs

We are reverting back to using the plural annotations `@OutputFiles` and `@OutputDirectories`, but only allow them to be used on `Map` properties (otherwise show a deprecation warning). The `Map` must associate a unique String identifier to each output file or directory, respectively.

This allows the removal of the recently introduced `configure()` methods on `TaskInputs` and `TaskOutputs`, but requires the introduction of the `TaskOutputs.namedFiles(Map)` method (and a version that takes a `Callable` to produce the map).

+review REVIEW-6055

    • -56
    • +0
    ./InputOutputEnsuringTaskExecuterIntegrationTest.groovy
  1. … 35 more files in changeset.
Use old API methods for task inputs and outputs

Will revert deprecation in next commit.

+review REVIEW-6038

    • -2
    • +2
    ./InputOutputEnsuringTaskExecuterIntegrationTest.groovy
  1. … 38 more files in changeset.
Revert "Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release"

This reverts commit 506f8ce9d6dc1a81e8ff10575c512778ca2f382a.

    • -2
    • +2
    ./InputOutputEnsuringTaskExecuterIntegrationTest.groovy
  1. … 199 more files in changeset.
Temporarily reverting everything since 810f052813ea0835dc7e9d3eb87bca005815db64 for 3.0-milestone-1 release

    • -2
    • +2
    ./InputOutputEnsuringTaskExecuterIntegrationTest.groovy
  1. … 199 more files in changeset.
Bind task output files to properties

This change introduces a binding between task properties and output files. Output annotations automatically register property values to the corresponding property name.

The `TaskOutputs` API gained new methods with an `include` prefix that allow more flexible configuration of output properties, including specifying the property name to bind the files to. The old methods have been deprecated.

Properties that were not assigned a property name will be bound to a sequence of pseudo names like `$1`, `$2` etc.

+review REVIEW-6038

    • -1
    • +1
    ./InputOutputEnsuringTaskExecuterIntegrationTest.groovy
  1. … 41 more files in changeset.
Bind task input files to properties

This change introduces a binding between task properties and input files. Input annotations automatically register property values to the corresponding property name.

The `TaskInputs` API gained new methods with an `include` prefix that allow more flexible configuration of input properties, including specifying the property name to bind the files to. The old methods have been deprecated.

Properties that were not assigned a property name will be bound to a sequence of pseudo names like `$1`, `$2` etc.

+review REVIEW-6038

    • -1
    • +1
    ./InputOutputEnsuringTaskExecuterIntegrationTest.groovy
  1. … 33 more files in changeset.
Clarify purpose of test

+review REVIEW-6010

    • -1
    • +1
    ./InputOutputEnsuringTaskExecuterIntegrationTest.groovy
Introduce `TaskInputs/TaskOutputs.configure()`

This allows delayed configuration of inputs and outputs using the fully

configured task. When using e.g. `TaskOutputs.files()` the plugin could

supply a closure that would be resolved right before the task is

executed. To deprecate `TaskOutputs.files()` there needs to be a way to

do the same by calling `TaskOutputs.file()`.

+review REVIEW-6010

    • -0
    • +56
    ./InputOutputEnsuringTaskExecuterIntegrationTest.groovy
  1. … 12 more files in changeset.