Modified BuildConfig.groovy and commented out legacyResolve due to problems when cloning project