Updates gradle build scripts.