On Debian Unstable, when issuing a gradle command on the Bash command line, for example:
|> gradle clean :clean
Total time: 3.587 secs
it then takes 4 or 5 seconds for the command to complete and the Bash prompt to appear. This has to be seen as a bug.