Grails: working offline with snapshot dependencies

2019-03-01 08:45发布

问题:

I am using some plugins which depend on snapshot versions of other plugins. As I understand, Ivy tries to fetch the newest version of these plugins every time you start grails. If Ivy does not succeed, grails will not start :-(

As I like to develop offline, I am now looking for a way which lets me avoid this behaviour...

回答1:

You could pull them down and store them on your machine using a local repository and comment out any remote repositories. Here is some documentation. Scroll down to "local resolvers"