novoda/gradle-static-analysis-plugin

Empty output when everything is alright

tasomaniac opened this issue · 0 comments

collect${toolName}Violations and evaluateVialoations tasks output empty space whenever the task is successful. By default, the newest (non-plain) Gradle console just skips the empty output tasks. It is a really nice feature. But empty lines from evaluateViolations task break it. Its more of a problem if you have many Gradle subprojects.

TODO:
If there is nothing to output skip it. It could be as simple as calling trim() on the output or actually removing empty lines.

image