can I turn off the .ivy cache all together?

前端 未结 2 1719
闹比i
闹比i 2020-12-11 06:47

Is there a way to tell ant/ivy to not use a local $HOME/.ivy2 cache?

2条回答
  •  独厮守ぢ
    2020-12-11 07:04

    I'd create an ivysettings.xml file and specify the location of my cache using the caches directive:

    
        
        
        
            
        
    
    

    I think this more explicit and is less cryptic than setting the property ivy.default.ivy.user.dir within your build file.

    Update

    Using this approach the ivy cleancache task can be used to purge your nominated cache directory.

    
        
    
    

提交回复
热议问题