Bumped Gradle version to 2.2.1 and fixed build not to pull missing dependency 'com.bea.xml:jsr173-ri:1.0'