update build.gradle for latest gradle.