Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to bypass ivy cache for dependencies #121

Closed
altavir opened this issue Jan 27, 2021 · 1 comment · Fixed by #230
Closed

Add option to bypass ivy cache for dependencies #121

altavir opened this issue Jan 27, 2021 · 1 comment · Fixed by #230
Labels
bug Installation and functionality issues

Comments

@altavir
Copy link
Contributor

altavir commented Jan 27, 2021

The use-case is the development of libraries and plugins. A typical workflow is to modify the code, then deploy to maven local, load it into the notebook, and test after reloading the kernel. The problem is that ivy caches the dependency and in order to reload the new code with the same version, one needs to manually clean it up from the ivy cache.

The solution is either to allow SNAPSHOT-like behavior with a key or to bypass the cache completely for mavenLocal (i think it is the preferable variant).

@ileasile ileasile added the bug Installation and functionality issues label Mar 12, 2021
@ileasile
Copy link
Contributor

As a workaround, use clearIvyCache function. You may delete the whole cache or only a part related to some group or artifact.

clearIvyCache([group, [artifact, [version]]])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Installation and functionality issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants