Serialize upload tasks so build can be run in parallel.
Upgrade Gradle version.
Remove redundant repo.
Fix inner closure finding for Groovy 2.4.

http://jira.codehaus.org/browse/GROOVY-5351