Remove unnnecessary code from build.gradle