use of org.apache.ivy.core.cache.DefaultRepositoryCacheManager in project ant-ivy by apache.
the class ArtifactLockStrategyTest method newCacheManager.
private RepositoryCacheManager newCacheManager(IvySettings settings) {
DefaultRepositoryCacheManager cacheManager = new DefaultRepositoryCacheManager("cache", settings, new File("build/test/cache"));
cacheManager.setLockStrategy(new CreateFileLockStrategy(false));
return cacheManager;
}
Aggregations