updated gradle version to 1.8
changed project to use the plugin rather than the .gradle file