Grails Plugin Publications

I am trying to perform a new process for publishing Grails plugins. I installed the latest release plugin by adding the following to BuildConfig.groovy

 plugins { build(":tomcat:$grailsVersion", ":release:1.0.1") { export = false } } 

But when I try to execute publish-plugin script, it tells me that such a command does not exist:

 c:\workspace\grails-flash-helper>grails publish-plugin | Script 'PublishPlugin' not found, did you mean: 1) ListPlugins_ 2) ListPluginUpdates 3) PluginInfo_ 4) InstallPlugin 5) UninstallPlugin 

The source code of the plugin is here if anyone wants to take a look.

+7
source share
1 answer

It just means that the plugin is not installed yet. First run grails compile or grails refresh-dependencies .

BTW, to follow the new plugin publishing mechanism , you need to use version 2.0.0.BUILD-SNAPSHOT (or 2.0.0 at release) from the Release plugin. Version 1.0.1 will not work.

+15
source

All Articles