Hi all, Some people reported that since picocli 4.7.0 was released, groovy scripts that use picocli no longer work, showing this error message:
Cannot cast object 'org.codehaus.groovy.testng.TestNgRunner@7afbf561' with class 'org.codehaus.groovy.testng.TestNgRunner' to class 'org.apache.groovy.plugin.GroovyRunner' Details of this issue are here: https://github.com/remkop/picocli/issues/1885 It appears that the TestNgRunner somehow takes priority over GroovyRunner? This may have been caused by a change in picocli 4.7.0 that brought in groovy-all as a dependency (https://github.com/remkop/picocli/issues/1613). Has anyone seen something similar? Is there a way to exclude TestNgRunner when executing Groovy scripts, for example? Any pointers would be welcome! Remko