Closed KarthikRIyer closed 2 years ago
You need to add the following dependencies to your tests:
testRuntime "org.codehaus.groovy:groovy-xml:${groovyVersion}"
testRuntime "org.codehaus.groovy:groovy-json:${groovyVersion}"
testRuntime "org.codehaus.groovy:groovy-templates:${groovyVersion}"
After you do this, let me know if it works.
This is documented here.
The Groovy version should be at least 3.0.9
.
This worked! Thanks a lot for the help @renatoathaydes
I'm trying to use spock-reports in a gradle project. I'm using java 8.
I'm getting this error when I run a test:
Here's relevant part of my build.gradle file. Here's a link to the complete build.gradle file if that's helpful.
Here's my test I'm trying to run:
I would appreciate any help! Thanks!