gradle-buildconfig-plugin icon indicating copy to clipboard operation
gradle-buildconfig-plugin copied to clipboard

Pretty printing build info

Open jfcameron opened this issue 6 years ago • 0 comments

Feature suggestion

Purpose: to conveniently print build info fields to standard out, to file, render as JSON and send over network etc.

Implementation: static public function "Pretty Print" with lambda parameter of form: (final Field[]) -> void. Lambda allows for user-defined print behaviour. Additionally offer 1 overload: parameterless, which simply writes all fields to standard out as "${field.name}: ${field.value}\n"...

jfcameron avatar Jul 07 '18 02:07 jfcameron