Support for Android Studio 1.0 with newer gradle and build tools