Updated gradle build script.