cursive

Gabriel 2025-09-24T19:37:27.992839Z

Hello folks, I'm trying to figure out what command is executed when I hit the Refresh Leiningen Projects, for example after adding some dependency. Because I'm using a global env var LEIN_JVM_OPTS to pass some custom jvm flags and I think is not affecting the behavior of Refresh Leiningen Projects action. BTW I couldn't figure out if this flag is only used when you use the https://github.com/technomancy/leiningen/blob/40227328d4a9c8945362d6d626d19c2449175df6/bin/lein#L156, because in that case running the tasks won't be using the env var neither, because from what I saw we are calling java with the leiningen standalone jar.

cfleming 2025-09-24T21:10:05.930319Z

The Cursive lein integration actually executes lein in-process, so the problem is that you can't set JVM opts for the actual process running lein. Which opts do you need to set?

Gabriel 2025-09-26T12:08:51.103479Z

I need to pass the flag -Daether.dependencyCollector.impl=bf because I have a project with a lot of dependencies and it is taking a while to resolve the dependencies using the df algorithm.

Gabriel 2025-09-25T12:26:13.300229Z

https://maven.apache.org/resolver/configuration.html

cfleming 2025-09-25T21:37:30.049149Z

Sorry, I'm not clear what it is you actually need to configure.

cfleming 2025-09-24T06:52:59.285759Z

Cursive 2025.2.1-eap3 is out. It adds support for the new IntelliJ 2025.3 EAP and fixes a couple of bugs, in particular a bad one which would show incorrect results in the inline REPL seeker if the REPL result is not readable. https://cursive-ide.com/blog/cursive-2025.2.1-eap3.html

4