简体   繁体   中英

ivy resolve dynamic dependency

I am using Ivy to resolve my dependencies. We have a big share space where all the libraries we use live and are retrieved from as needed.

Very occasionally we need to add some additional files to an existing library version. For example we recently started to use the charting components in a UI library. We hadn't previously needed them so I took the relevant DLLs and copied them into the share space with the existing UI DLLs.

However running ivy doesn't pick these additions up by default, presumably because they are locally cached on my machine and ivy only does a version check to see whether it already has version xyz of library a. It doesn't check whether version xyz of library a has changed in the ivy repository.

Is there a way of getting ivy to check the repository for structural changes to a library rather than just checking the local cache?

I tried using <ivy:resolve refresh="true"/> but that didn't seem to do anything.

Thanks.

If you change the content of a dependency, shouldn't its version number also change? If the dependency is still in flux, maybe you should look into snapshots .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM