Fork me on GitHub
#leiningen
<
2021-03-15
>
Old account12:03:47

how to pass -Dproperty1=value to lein repl?

quoll14:03:27

from what I can see, you do it by setting:

export LEIN_JVM_OPTS=-Dproperty1=value
in your environment

quoll15:03:16

Though that will overwrite some defaults. It’s probably safest to add them back in:

export LEIN_JVM_OPTS="-Dproperty1=value -Xverify:none -XX:+TieredCompilation -XX:TieredStopAtLevel=1"