Convert to Gradle 0.12 as required by Android Studio 0.8.1