update gradle to 2.2.1 and android gradle plugin to 1.0.0