Update gradle version to 0.12.+

The current version of Android Studio does not support 0.11.+, but
updating this to 0.12.+ makes the project work in Android Studio.