What's the correct way to install a grails plugin from a zip file?

前端 未结 2 1435
独厮守ぢ
独厮守ぢ 2020-12-11 18:17

In recent versions of Grails install-plugin command has been deprecated. What is now the recommended way of installing a plugin that is not available via some repository. As

2条回答
  •  青春惊慌失措
    2020-12-11 18:34

    I don't know if it is the correct way but we get it working:

    1. Download and unzip the plugin in a directory within your project
    2. Change your BuildConfig.groovy file to point to the new plugin

    Example: Download webflow.zip plugin and unzip it into a plugins directory within your project. Add this line at end of your BuildConfig file

    grails.plugin.location."webflow" = "plugins/webflow"
    

提交回复
热议问题