[Sprint: 40] XD-2518 Upgrade to Gradle 2.2

Jira: https://jira.spring.io/browse/XD-2518