I was working on a project and uninstalled facebook-connect plugin and added facebook-graph plugin. If I do another commit to capture this change what do I need to do?
I did a
git add .
and
git commmit -m 'swapped facebook-connect for facebook-graph'
Is there anything else I need to do to capture the change in source control?
I’m sure files were removed by the uninstall – right?
The only change in your source (and the only change that should be captured in source control) is in application.properties or grails-app/conf/BuildConfig.groovy, depending on how you install the plugin.
The plugin is installed to ~/.grails/[grails-version]/projects/[project-name]/plugins/, i.e. not under your grails projects source and thus not under source control.
Note that some plugins can create additional files under your source during install, like e.g. the grails-melody plugin that creates the config file grails-app/conf/GrailsMelodyConfig.groovy. If you compare git status before and after you install a plugin, you will quickly see which files are added.