Moving build process from ANT to Gradle