Signing plugin in userguide has broken example code

The userguide (chap 32)
shows an example of reading the gpg key and password from Console. However
this seems not to be supported by the daemon, Console is null.
Would be nice to either mention this in the docs, or write an example
that can work with the daemon.

This was mentioned here:
and is related to GRADLE-2310