dependency-analysis-gradle-plugin
dependency-analysis-gradle-plugin copied to clipboard
JSON pretty print option
Change
Add System property "com.autonomousapps.pretty-json" to do pretty print in JSON task outputs.
Motivation
Tasks produce (mostly) JSON outputs which are friendly for text comparison between executions - either with changes in set of project dependencies or in the logic of the dependency-analysis plugin itself. But by default they are single-line JSONs, hence we need an options to pretty-print (a.k.a. indent) it.
Note: the task outputs are reproducible (once this is merged https://github.com/autonomousapps/dependency-analysis-gradle-plugin/pull/1202 )