Adding support to Gradle 2.2.1