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

18 lines
286 B
Groovy

// Enable testing scala code in groovy spock tests.
apply plugin: 'scala'
configurations {
all {
if (it.name != "zinc") {
resolutionStrategy {
force deps.scala
}
}
}
}
compileTestGroovy {
classpath += files(sourceSets.test.scala.classesDirectory)
}