Skip to content

Set environment variables for "Refresh Leiningen Projects" #3068

Description

@ernesto-castelan

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.

Image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions