Don't download existing dependencies, Fix build fail

Make build.gradle a bit smarter.

Old behaviour:
If dep exists, as a folder or directory, delete it.
Create dep folder.
Download dependencies.

This new dependencies block will:
Remove a file called dep if one exists.
Create a dep folder if missing.
Download missing dependencies.

All tabs have also been converted to spaces