gradle/gradle — pull request #155 by folecr (2013-05-19 16:58:58+00:00)
Title: Allow installing gradle into an empty target directory.

- list()'s the contents of the directory to check if empty
- if !empty then existing logic is applied (check if the directory has a prior gradle install)
- if empty then no checks are applied and the directory may be used for install