Update to gradle plugin 1.0