Updates build.gradle file to latest gradle plugin and build tools version.