moved to the latest version of the Android gradle plugin. Also added support for the gradle wrapper, so that anyone can run this regardless of their local version of gradle. Everything builds just fine.