Gradle script to use scala in spock
This commit is contained in:
parent
d7d6f13f29
commit
2fce4de1c5
|
@ -0,0 +1,8 @@
|
|||
// Enable testing scala code in groovy spock tests.
|
||||
|
||||
apply plugin: 'scala'
|
||||
|
||||
compileTestGroovy {
|
||||
classpath = classpath.plus(files(compileTestScala.destinationDir))
|
||||
dependsOn compileTestScala
|
||||
}
|
Loading…
Reference in New Issue