Updated build scripts to Gradle to 2.0