updated to work with the 0.11 of the android gradle plugin