Reputation: 1
We have been using Grails 4.0.0 for more than a year now and starting yesterday, we are now unable to download dependencies with the below build config.
buildscript {
repositories {
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
}
}
and we are getting the below error. it looks like https://repo.grails.org/grails/core is no longer the correct URL repo to download dependencies. Does any know the correct URL or how can this be resolved? Have tried http://repo.grails.org/grails/plugins/ and tried different kind of stuff but didn't work. Thanks in advance for the help!
A problem occurred configuring root project 'IronDataMobile_2.11.9'.
Could not resolve all artifacts for configuration ':classpath'. Could not find org.grails:grails-gradle-plugin:4.0.0. Searched in the following locations: - https://repo.grails.org/grails/core/org/grails/grails-gradle-plugin/4.0.0/grails-gradle-plugin-4.0.0.pom - https://repo.grails.org/grails/core/org/grails/grails-gradle-plugin/4.0.0/grails-gradle-plugin-4.0.0.jar Required by: project :
Upvotes: 0
Views: 798
Reputation: 22952
The 'grails-core' repository does not exist in the listed repositories: https://repo.grails.org/ui/repos/tree/General/
However, 'core' does exist which includes org.grails:grails-gradle-plugin
So update the repository:
buildscript {
repositories {
maven { url "https://repo.grails.org/artifactory/core/" }
}
}
Upvotes: 1