gradle / gradle

Adaptable, fast automation for all
https://gradle.org
Apache License 2.0
16.9k stars 4.73k forks source link

Inconsistent indentation in dependencyInsight failure report #20063

Open DPUkyle opened 2 years ago

DPUkyle commented 2 years ago

While implementing #19763 , @octylFractal discovered inconsistent indentation for the output of the dependencyInsight task.

Example steps to reproduce:

$ ./gradlew :docs:docsTest --tests "*.snippet-java-fixtures*"

And a patch to fix the whitespace: patch.txt

Octavia and I chatted and agreed to revert some of the indentation changes and fix in a separate PR as it will affect about 40 doc snippet tests.

octylFractal commented 2 years ago

Reverting https://github.com/gradle/gradle/pull/19763/commits/5be05f4980c is also a good start for this.