You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Set environment variables for "Refresh Leiningen Projects" #3068
When using "Refresh Leiningen Projects" I would like to pass LEIN_JVM_OPTS="-Daether.dependencyCollector.impl=bf" environment variable. This solves a slowness problem in my project when fetching dependencies.
I have setup the environment variable in ~/.zshrc (which solves the problem when running lein from the terminal) but it does not seem to be recognized by the intelliJ plugin
➜ git:(master) echo $LEIN_JVM_OPTS
-Daether.dependencyCollector.impl=bf
➜ git:(master) lein run-dev
:repositories detected in user-level profiles! [:user]
See https://wiki.leiningen.org/Repeatability
... runs normally
Activity
ernesto-castelan commentedon Oct 24, 2025
Expected behaviour
The plugin should respect the exported LEIN_JVM_OPTS when importing the project/resolving deps
Workaround
Use IntelliJ's "Edit Custom VM Options" and add
-Daether.dependencyCollector.impl=bfin a new line, then restart intelliJ.