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

12 lines
234 B
Groovy

// 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)
}