How do I fix the "Spock 1.0.0-groovy-2.4 is not compatible with Groovy 2.3.10" error?

I have similar issue trying to run gradle in Eclipse. Nothing in my code seems to ask for groovy 2.4 but somehow gradle is pulling it in. I know this because my “Gradle Dependencies (persisted)” includes groovy-all-2.4.4.jar. It seems that this is being pulled in via gradle 2.11.

1 Like