Upgrade to Gradle 2.0-rc-1

We should probably wait for Gradle 2 final before merging this one. I only issued a pull request so that my changes are not lost :)