Revert "Update BuildLayoutFactory.java"

This reverts commit 82a0b521199bec15bdb71ef921ce97a2b9011ced.
Look for settings.gradle file in 'gradle' folder