(Quick Reference)

plugin Usage

A plugin provides additional capability to the Grails runtime and is created with the create-plugin command:

grails create-plugin simple

This will create a plugin project which can then be packaged with package-plugin:

grails package-plugin

To install the plugin to your local Maven repository you can use the install command:

grails install

Refer to the user guide topic on plugins for more information.

Grails Forge Plugin Usage

A plugin provides additional capability to the Grails runtime and is created with the create-plugin command:

grails create-plugin myplugin

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.