update for Android Studio 0.5+ and Gradle 0.9