I've been working on a grails project for a while now and some of the plugins I installed initially have been updated.
I ran the following scripts to see what plugins needed updating
grails list-plugin-updates
and the result was
Plugins with available updates are listed below:
-------------------------------------------------------------
<Plugin> <Current> <Available>
joda-time 1.1 1.2
jquery 1.4.4.1 1.6.1.1
jquery-ui 1.8.7 1.8.11
recaptcha 0.5.0 0.5.2
searchable 0.5.5.1 0.6
spring-security-core1.1
tomcat 1.3.7 1.3.7.2
Now how do I go about updating all or some these plugins?
Is it a matter of uninstalling and reinstalling each one?
How does this affect usages/references to the plugin in the main code?
By default the plugins are in . grails/<version>/<project>/plugins . You can change it by setting grails. project.
Metadata regarding a project in Grails is kept in application. properties . Within this file you will find the version of Grails used for the project under the key app.
Support for the Grails framework is not bundled with IntelliJ IDEA. You can install the Grails plugin from the JetBrains repository as described in Install plugins. The latest compatible version of IntelliJ IDEA is 2021.3. You can find the documentation for Grails support in earlier versions of IntelliJ IDEA Help.
To update a plugin you just run install-plugin
again and it'll detect that the plugin's already installed and will remove the old one and install the new one. For a small version delta this should be fine, but I'd do them one at a time and test in-between (but do the 2 JQuery plugins together).
If you're lucky the plugin either has no compatibility issues, or they're documented in the plugin docs, so be sure to check there before upgrading.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With