Rewrite  build.gradle