Compatibility problems using Groovy Follow
Answered
Hello!!
I've a plugin, Spock data table improvements, that has some compatibility problems due a recent dependency update, as you can see in the following screenshot:
This problems are because I've just updated a dependency from my gradle project,
- From:
compile 'org.codehaus.groovy:groovy-all:2.4.17'
compile 'org.spockframework.spock:spock-core:spock-1.3' - To:
compile 'org.codehaus.groovy:groovy:3.0.8'
compile 'org.spockframework:spock-core:2.0-groovy-3.0'
The plugin works fine, cause I've run it and also all tests are running fine.
Any ideas how can I fix it?
Thanks!
Please sign in to leave a comment.
Please change to use `implementation` instead of `compile`, otherwise groovy library is not packaged with your plugin's distribution and thus not available in classpath. And since IntelliJ platform still ships with Groovy 2.x, there'll be such (false positive) issues.