I deleted my .grails folder from my PC and when I opened an application in Intellij IDE, the plugins mentioned in buildConfig.groovy start installing. A few plugins were install
Current Maven files are not found from these repositories. I have also faced this issue and resolved by adding in repositories
grailsRepo "https://grails.org/plugins"
repositories {
inherits true
grailsPlugins()
grailsHome()
grailsCentral()
mavenLocal()
mavenCentral()
grailsRepo "https://grails.org/plugins"
}