gradle-best-practices-plugin
gradle-best-practices-plugin copied to clipboard
Baseline is not VCS friendly
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.