Install plugins manually?

Is it possible to install and remove plugins manually in grails ?? if so, how can this be done?

+3
source share
4 answers

If the commands fail for some reason, you can delete them:

  • remove the entry for the plugin from application.properties
  • remove the plugin folder from ~ / .grails / grails version / projects / project name / plugins
+6
source

For Grails 2.x, what

grails install-plugin <plugin>

and

grails uninstall-plugin <plugin>

Commands for. See Command Line Link at http://www.grails.org/doc/latest/ .

+3
source

(Grails 2.2.4) , , , grails-project-dir\lib\the-grails-plugin-0.1.zip. grails-project-dir\grails-app\BuildConfig.groovy,

plugins {
  // ....
  compile "lib:the-grails-plugin:0.1"
}

lib\the-grails-plugin
: [user-home] \. Grails\ivy-cache\lib\the-grails-plugin

+3

, , , , , , Grails 2.0 BuildConfig.groovy, :

    plugins {
        // ....
        compile ":console:1.2"
    }

/ , , , .

, , Maven grails install .

0

Source: https://habr.com/ru/post/1742779/


All Articles