Is it possible to completely disable ivy cache?

I'm talking about ivy 2, not the new version.

+1
source share
1 answer

Disabling the cache affects performance. Switching from it loses one of the big benefits of dependency management, because you force every assembly to load everything ....

Having said that, over time, the cache sometimes becomes obsolete, especially in situations where remote modules may have varying dependencies (may occur during development). To counter this problem, I always include an additional build target that clears my ivy cache:

<target name="clean-all" depends="clean"> <ivy:cleancache /> </target> 

It gives you the best of both worlds. Disabling the cache is done first by clearing:

 ant clean-all build 
+3
source

All Articles