opentelemetry-java-instrume.../gradle/test-with-kotlin.gradle

8 lines
199 B
Groovy

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