// Enable testing kotlin code in groovy spock tests. apply plugin: 'kotlin' compileTestGroovy { classpath = classpath.plus(files(compileTestKotlin.destinationDir)) dependsOn compileTestKotlin }