Upgrade Java version to 1.8, groovy to 2.2.1 and gradle to 1.11