build-events

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Clean up subproject grouping in gradle build

  1. … 142 more files in changeset.
Clean up subproject grouping in gradle build

  1. … 143 more files in changeset.
Clean up subproject grouping in gradle build

  1. … 143 more files in changeset.
Clean up subproject grouping in gradle build

  1. … 143 more files in changeset.
Clean up subproject grouping in gradle build

  1. … 141 more files in changeset.
Fix for previous commit.

Fix for previous commit.

Fix for previous commit.

Fix build event subscriptions when a `buildSrc` child build is present.

Fix build event subscriptions when a `buildSrc` child build is present.

Fix build event subscriptions when a `buildSrc` child build is present.

Clean up build operation listeners added by `BuildEventsListenerRegistry` at the completion of a build.

Fixes a memory leak when using gradle-profiler caused by these listeners continuing to receive and queue events without forwarding them to anything, plus the leak caused by retaining the listeners themselves.

Clean up build operation listeners added by `BuildEventsListenerRegistry` at the completion of a build.

Fixes a memory leak when using gradle-profiler caused by these listeners continuing to receive and queue events without forwarding them to anything, plus the leak caused by retaining the listeners themselves.

Fix for docs changes.

    • -0
    • +20
    ./src/main/java/org/gradle/build/event/package-info.java
Add some initial, very brief information about implementing a metrics collector to the user manual.

    • -0
    • +20
    ./src/main/java/org/gradle/build/event/package-info.java
  1. … 2 more files in changeset.
Add some initial, very brief information about implementing a metrics collector to the user manual.

  1. … 2 more files in changeset.
Add some initial, very brief information about implementing a metrics collector to the user manual.

  1. … 2 more files in changeset.
Rename `BuildEventsListenerRegistry.subscribe()` to `onTaskCompletion()` to make the current contract more explicit.

At some point, we may may allow plugins to receive finish events from additional operation types, in which case new methods can be added and this method left as a convenience or deprecated.

Also add an internal `onBuildOperationComplete()` method, which gradle-profiler can use to subscribe to build operations in an instant execution friendly way. The tooling API event stream doesn't carry quite enough information for gradle-profiler at the moment. So add this method instead of keeping the work-arounds in instant execution and complexity in gradle-profiler. We may replace this method with a public one once the tooling API event stream carries the required information.

  1. … 1 more file in changeset.
Rename `BuildEventsListenerRegistry.subscribe()` to `onTaskCompletion()` to make the current contract more explicit.

At some point, we may may allow plugins to receive finish events from additional operation types, in which case new methods can be added and this method left as a convenience or deprecated.

Also add an internal `onBuildOperationComplete()` method, which gradle-profiler can use to subscribe to build operations in an instant execution friendly way. The tooling API event stream doesn't carry quite enough information for gradle-profiler at the moment. So add this method instead of keeping the work-arounds in instant execution and complexity in gradle-profiler. We may replace this method with a public one once the tooling API event stream carries the required information.

  1. … 1 more file in changeset.
Rename `BuildEventsListenerRegistry.subscribe()` to `onTaskCompletion()` to make the current contract more explicit.

At some point, we may may allow plugins to receive finish events from additional operation types, in which case new methods can be added and this method left as a convenience or deprecated.

Also add an internal `onBuildOperationComplete()` method, which gradle-profiler can use to subscribe to build operations in an instant execution friendly way. The tooling API event stream doesn't carry quite enough information for gradle-profiler at the moment. So add this method instead of keeping the work-arounds in instant execution and complexity in gradle-profiler. We may replace this method with a public one once the tooling API event stream carries the required information.

  1. … 1 more file in changeset.
Unit test coverage for previous commit.

Deliver events to build event listeners so that the event handling does not block other work.

The event handling is not treated as "work" in the sense that it does not require a worker lease in order to happen. The assumption here is that most collectors will be relatively lightweight.

  1. … 1 more file in changeset.
Deliver events to build event listeners so that the event handling does not block other work.

The event handling is not treated as "work" in the sense that it does not require a worker lease in order to happen. The assumption here is that most collectors will be relatively lightweight.

  1. … 1 more file in changeset.
Deliver events to build event listeners so that the event handling does not block other work.

The event handling is not treated as "work" in the sense that it does not require a worker lease in order to happen. The assumption here is that most collectors will be relatively lightweight.

  1. … 1 more file in changeset.
Deliver events to build event listeners so that the event handling does not block other work.

The event handling is not treated as "work" in the sense that it does not require a worker lease in order to happen. The assumption here is that most collectors will be relatively lightweight.

  1. … 1 more file in changeset.
Unit test coverage for previous commit.

Unit test coverage for previous commit.

Improve handling of failure to create a metrics collector instance or to handle a finish event.

Improve handling of failure to create a metrics collector instance or to handle a finish event.

Improve handling of failure to create a metrics collector instance or to handle a finish event.