GRADLE-2731 JUnit AssumptionViolationException is not described properly in XML

This patch fixes JUnit XMLs generated by Gradle.