Gradle 9: how to stop ProviderFactory#javaexec buffering stdout / stderr content

Folks

ProviderFactory#javaexec in Gradle 9 now appears to be buffering process srdout / stderr content in memory by default. I imagine this can be useful in some use cases, but in mine. How do stop ProviderFactory#javaexec doing that? Is there a way to have JavaExec process to continue streaming stdout and stderr content to console?

Update: I solved the problem by using ExecOperations instead. Still, the decision to buffer output content in memory looks quite puzzling.

That behavior is not new.
ProviderFactory#javaExec and ProviderFactory#exec never printed the streams to console.
They give you providers which when evaluated run the program and provide you the streams as strings.
You might have replaced Project#javaExec with ProviderFactory#javaExec, then you see that difference, because Project#javaExec is effectively a facade to ExecOperations#javaExec as you found out.