Port to Gradle 2.2