Skip to content

Groovy 5 support #14736

@matrei

Description

@matrei

Issue description

This ticket will track issues with upgrading Grails to Groovy 5.

Compilation errors

Groovy 5 updated the Groovy shell

/home/runner/work/grails-core/grails-core/grails-console/src/main/groovy/grails/ui/shell/support/GroovyshApplicationContext.groovy: 21: unable to resolve class org.apache.groovy.groovysh.Groovysh
> Task :grails-console:compileGroovy
 @ line 21, column 8.
   import org.apache.groovy.groovysh.Groovysh
          ^

/home/runner/work/grails-core/grails-core/grails-console/src/main/groovy/grails/ui/shell/support/GroovyshWebApplicationContext.groovy: 23: unable to resolve class org.apache.groovy.groovysh.Groovysh
 @ line 23, column 8.
   import org.apache.groovy.groovysh.Groovysh
          ^

2 errors

Spock

Spock does not currently support Groovy 5

Metadata

Metadata

Assignees

No one assigned
    No fields configured for Feature.

    Projects

    Status
    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions