Changing build process to Gradle from ant/ivy