diff --git a/gradle/documentation/render-javadoc.gradle b/gradle/documentation/render-javadoc.gradle index 4513cc82d4f..3c0938f519b 100644 --- a/gradle/documentation/render-javadoc.gradle +++ b/gradle/documentation/render-javadoc.gradle @@ -471,6 +471,7 @@ class RenderJavadocTask extends DefaultTask { // Pipe the output to console. Intentionally skips any encoding conversion // and pumps raw bytes. System.out.write(outputFile.bytes) + System.out.flush() def cause try {