Changed gradle settings to support Android Studio 5.0+