9 lines
306 B
Groovy
9 lines
306 B
Groovy
// Enable testing kotlin code in groovy spock tests.
|
|
apply plugin: 'kotlin'
|
|
|
|
compileTestGroovy {
|
|
//Note: look like it should be `classpath += files(sourceSets.test.kotlin.classesDirectory)`
|
|
//instead, but kotlin plugin doesn't support it (yet?)
|
|
classpath += files(compileTestKotlin.destinationDir)
|
|
}
|