[Build] Setup gradle so the libraries are only build if needed
[Build] Fixed error in gradle files
[Build] Setup proguard build for downloader in gradle