8

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()?

Dónal
  • 185,044
  • 174
  • 569
  • 824

2 Answers2

5

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

tim_yates
  • 167,322
  • 27
  • 342
  • 338
3

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 directory
  • grailsCentral() - Looks at http://grails.org/plugins
Sudhir N
  • 4,008
  • 1
  • 22
  • 32