add integtest for GRADLE-2681