jdaugherty commented on code in PR #14683:
URL: https://github.com/apache/grails-core/pull/14683#discussion_r2069707041


##########
grails-shell-cli/src/main/groovy/org/grails/cli/boot/GrailsDependencyVersions.groovy:
##########
@@ -65,6 +65,8 @@ class GrailsDependencyVersions implements 
DependencyManagement {
 
     static GrapeEngine getDefaultEngine() {
         def grape = Grape.getInstance()
+        grape.addResolver([name:"mavenCentral", 
root:"https://repo1.maven.org/maven2";] as Map<String, Object>)
+        grape.addResolver([name:"apacheSnapshot", 
root:"https://repository.apache.org/content/groups/snapshots";] as Map<String, 
Object>)

Review Comment:
   I think we need to not pull snapshots for production builds, so we need to 
detect the grails version here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to