SubscribableBuildActionRunnerSpec.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move registration of tooling api build operation listeners to earlier in the build pipeline.

    • -69
    • +0
    ./SubscribableBuildActionRunnerSpec.groovy
  1. … 5 more files in changeset.
Rationalise handling of “current” build operation and build operation ID

For an upcoming change to emit console logging as build operation progress events, we need to associate all progress logging with the build operation. This pulled a thread on some long overdue cleanup.

The end result is:

1. Base build operation infrastructure is consolidated org.gradle.internal.operations.

2. Mechanism for passing thread global current build operation is more test friendly, and better named.

3. A consistent mechanism is used for binding the current operation to the thread, instead of two mechanisms.

4. Build operation IDs are typed to OperationIdentifier.

There is no public API or user behaviour change.

    • -1
    • +1
    ./SubscribableBuildActionRunnerSpec.groovy
  1. … 147 more files in changeset.
Rename BuildOperationService to BuildOperationListenerManager.

    • -2
    • +2
    ./SubscribableBuildActionRunnerSpec.groovy
  1. … 13 more files in changeset.
Remove unnecessary indirections added along the way

    • -1
    • +1
    ./SubscribableBuildActionRunnerSpec.groovy
  1. … 4 more files in changeset.
Reinstate RunAsBuildOperationBuildActionRunner & move it from TAPI to Launcher

    • -1
    • +2
    ./SubscribableBuildActionRunnerSpec.groovy
  1. … 11 more files in changeset.
reuse BuildOperationService in TAPI

    • -0
    • +68
    ./SubscribableBuildActionRunnerSpec.groovy
  1. … 10 more files in changeset.