Neither 
testClassesDirs = sourceSets.integrationTest.output.classesDirs
If you used multiple languages for the same source set, they could use separate output directories.
Neither 
testClassesDirs = sourceSets.integrationTest.output.classesDirs
If you used multiple languages for the same source set, they could use separate output directories.