removed deprecated code from build.gradle file