Skip to content

Commit

Permalink
Gradle script to use scala in spock
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Kent committed Mar 26, 2018
1 parent d7d6f13 commit 2fce4de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gradle/test-with-scala.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// Enable testing scala code in groovy spock tests.

apply plugin: 'scala'

compileTestGroovy {
classpath = classpath.plus(files(compileTestScala.destinationDir))
dependsOn compileTestScala
}

0 comments on commit 2fce4de

Please sign in to comment.