Ensure compatibility with the Android gradle plugin

Urgh