update gradle files to work with the latest android gradle plugin (0.12)