Remove unnecessary code from build.gradle