Gradle script to use scala in spock

This commit is contained in:
Andrew Kent 2018-03-22 10:03:19 -07:00
parent d7d6f13f29
commit 2fce4de1c5
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
// Enable testing scala code in groovy spock tests.
apply plugin: 'scala'
compileTestGroovy {
classpath = classpath.plus(files(compileTestScala.destinationDir))
dependsOn compileTestScala
}