Upgraded Gradle from 1.11 to 2.0

This patch upgrades Gradle from 1.11 to 2.0