// Enable testing scala code in groovy spock tests. apply plugin: 'scala' configurations { all { if (it.name != "zinc") { resolutionStrategy { force deps.scala } } } } compileTestGroovy { classpath += files(sourceSets.test.scala.classesDirectory) }