Fix usage of BuildOperationProcessor from unmanaged threads Fix the Gretty smoke tests. The Gretty plugin is doing dependency resolution on a rogue thread. The recently introduced parallel download of artifacts made it fail.
Fix build ops on non-gradle threads handling Emit unmanaged-thread build operation events around each build operation. This is needed because we can’t know when an unmanaged thread is done doing work. As a consequence, orphaned build operation layout has changed.
Reinstate TAPI tests for maven-publish with the new orphaned build ops layout. Previous change in e80ebac kept.
And the Gretty plugin smoke tests pass with these changes.