>Cannot select module with conflict on capability >'org.codehaus.groovy:groovy:4.0.0' also provided by >[org.codehaus.groovy:groovy:3.0.0(runtime)]*
That means you have both Groovy 3 and Groovy 4 on the classpath which are incompatible. I think Groovy3 comes from Spock, so you need to update Spock as well. Vladimir