By default, the following repositories are configured in BuildConfig.groovy
repositories {
grailsPlugins()
grailsHome() // look inside the grails installation
grailsCentral()
}
I understand that the grailsHome()
repository corresponds to the JARs that are available within the local Grails installation, and I guess grailsPlugins()
corresponds to the repository where released Grails plugins are stored.
Am I right about these two, and if so, what is grailsCentral()
?
As I understand it;
grailsPlugins()
looks inside the ~/.grails/version
directory
grailsHome()
(as you suspected) looks inside the Grails installation directory
grailsCentral()
looks to be using the grails subversion repository
Here's exactly where it is looks for
grailsPlugins()
- Looks for jars inside /lib directory of each installed plugin.
(See GrailsPluginsDirectoryResolver)grailsHome()
- Looks inside the GRAILS-HOME/lib directorygrailsCentral()
- Looks at http://grails.org/plugins
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