autonomousapps / gradle-best-practices-plugin

Gradle Plugin that detects violations of Gradle best practices in Gradle Plugins
Apache License 2.0
181 stars 3 forks source link

Baseline is not VCS friendly #16

Open TWiStErRob opened 1 year ago

TWiStErRob commented 1 year ago

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

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.