grails / grails-core

The Grails Web Application Framework
http://grails.org
Apache License 2.0
2.78k stars 950 forks source link

What is the replacement of "Custom Scripts" in Grails >= 6.1.0 ? #13499

Open m4rc77 opened 5 months ago

m4rc77 commented 5 months ago

Expected Behavior

There should be a replacement for "Custom Scripts" in Grails 6.1.0 or newer and the Migration Guilde (e.g. https://docs.grails.org/6.1.0/guide/upgrading.html) should explain how to migrate existing "Custom Scripts".

Actual Behaviour

With Grails < 6.1.0 it was possible to create "Custom Scripts" under src/main/scripts/ according to https://docs.grails.org/6.0.0/guide/commandLine.html#creatingCustomScripts. With Grails 6.1.0 this option disappeared (see https://docs.grails.org/6.1.0/guide/commandLine.html) and existing scripts do no longer work.

Steps To Reproduce

No response

Environment Information

Example Application

No response

Version

6.1.2

puneetbehl commented 4 months ago

I have published a blog post about Grails Custom Application Commands. You can read it here:

https://medium.com/@puneetbehl/a-comprehensive-guide...