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

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions