// Enable testing scala code in groovy spock tests. apply plugin: 'scala' dependencies { testImplementation deps.scala } tasks.named('compileTestGroovy').configure { classpath += files(sourceSets.test.scala.classesDirectory) }