grails create-plugin myplugin
Plugin Usage
A plugin provides additional capability to the Grails runtime and is created with the create-plugin command:
This will create a plugin project which can then be packaged as a JAR file (build/libs/myplugin-0.1.jar) using the jar
gradle task:
./gradlew jar
Refer to the user guide topic on plugins for more information.