TCAP-211 - Compatibility with Gradle 2.x (for TeamCity Artifactory Plugin)