Update to gradle plugin 0.7.+ and gradle 1.9.