Update to Gradle Plugin 1.0.0 and Gradle 2.2.1