I am currently switching from ant to gradle for my multi module web application and at the moment it seems that the current version of Gradle (M9) might be running up agains
In the gradle.properties file add the following line :
org.gradle.daemon=true
This will boost the build - taken from
https://www.timroes.de/2013/09/12/speed-up-gradle/