Update to Gradle 2.0 and Groovy 2.x version used by it.