Updated gradle build scripts.