Updated Gradle wrapper to 1.9 to prevent 'You must assign a Groovy library to the 'groovy' configuration.' error, and changed some deprecated configuration which will be removed from Gradle 2.0