Flush output on javadoc emitting a failure.

This commit is contained in:
Dawid Weiss 2021-03-12 11:39:40 +01:00
parent 7478b3fc17
commit 4f5389bfa8
1 changed files with 1 additions and 0 deletions

View File

@ -471,6 +471,7 @@ class RenderJavadocTask extends DefaultTask {
// Pipe the output to console. Intentionally skips any encoding conversion // Pipe the output to console. Intentionally skips any encoding conversion
// and pumps raw bytes. // and pumps raw bytes.
System.out.write(outputFile.bytes) System.out.write(outputFile.bytes)
System.out.flush()
def cause def cause
try { try {