Refactored build.gradle .