Re: Groovy 4.0.0: No such property: importPackages for class: org.codehaus.groovy.ast.ModuleNode

2022-03-15 Thread Dirk Heinrichs
Am Dienstag, dem 15.03.2022 um 19:25 +1100 schrieb Aristedes Maniatis: If it helps at all, I had exactly the same error when trying to build a project in groovy 4 with gradle 6.x. Upgrading to latest 7.x gradle resolved that in my case. I'm on Gradle 7.4 already. But in my case it doesn't make

Re: Groovy 4.0.0: No such property: importPackages for class: org.codehaus.groovy.ast.ModuleNode

2022-03-15 Thread Aristedes Maniatis
If it helps at all, I had exactly the same error when trying to build a project in groovy 4 with gradle 6.x. Upgrading to latest 7.x gradle resolved that in my case. Ari On 5/3/2022 8:18am, Remko Popma wrote: I checked picocli. picocli-groovy has an AST transformation

Re: Groovy 4.0.0: No such property: importPackages for class: org.codehaus.groovy.ast.ModuleNode

2022-03-15 Thread Paul King
This still smells like a classpath problem to me. I have no problem when I run the following script in the 4.0.1 groovyConsole (JDK11): /// @Grab('com.github.groovy-wslite:groovy-wslite:1.1.2;transitive=false') import wslite.rest.* def client = new

Re: Groovy 4.0.0: No such property: importPackages for class: org.codehaus.groovy.ast.ModuleNode

2022-03-15 Thread Dirk Heinrichs
Am Dienstag, dem 15.03.2022 um 21:07 +1000 schrieb Paul King: @Grab('com.github.groovy-wslite:groovy-wslite:1.1.2;transitive=false') This seems to solve (or work around?) the problem for me, too. Bye... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery |