gradle-dependencies-sorter
gradle-dependencies-sorter copied to clipboard
Make Gradle task to check if dependencies are sorted cacheable
This disentangles sort and check tasks to make the check task cacheable as it does not modify the build script. Relates to #108.
I took the opportunity to add another commit which emits a VerificationException when unsorted. For Gradle on the command line this improves the error message. If Develocity is used this avoids a "non-verification failure" classification which would be used for e.g. infrastructure problems (more on the topic).
Rebased this.
Fixed problems introduced by rebase.
CI failure does not seem to be related to my changes.
@autonomousapps any chance this will get merged?