Fix for deprecated gradle 'android' plugin