How to run a local plugin in Grails 2.0?

后端 未结 5 1081
时光说笑
时光说笑 2020-12-03 07:40

In Grails, there is a variant how to include local plugin from sources. According to docs, one may type in BuildConfig.groovy:

// Useful to test         


        
5条回答
  •  南方客
    南方客 (楼主)
    2020-12-03 08:06

    You can add the .zip file for the plugin in your /lib and it will be installed.

    Example:

    compile ":myPlugin:1.0"
    

    File:

    /lib/myPlugin-1.0.zip
    

    Note: You have to zip the content of the plugin folder.

    Source: http://grails.1312388.n4.nabble.com/Insert-own-local-plugin-into-build-config-td4646704.html

提交回复
热议问题