gradle-best-practices-plugin icon indicating copy to clipboard operation
gradle-best-practices-plugin copied to clipboard

Baseline is not VCS friendly

Open TWiStErRob opened this issue 2 years ago • 0 comments

The baseline file is not VCS friendly, because it's a single-line JSON. Please consider

  • auto-formatting the file,
  • ensuring the the contents are also sorted by something stable.

For example on the top level sort by their name, and the internal trace list should also be sorted by for example traces.sort { "${it.owner}/${it.name}/${it.descriptor}" }.

This will make multiple runs on the same project produce nice diffs/PRs as the project evolves.

TWiStErRob avatar Mar 09 '23 23:03 TWiStErRob