Fork me on GitHub
#leiningen
<
2021-10-21
>
vemv18:10:00

Can I get Lein to print the classpath that it uses at "plugin time"? Don't quote me on this, but I believe that with e.g. lein repl there will be 3 classpaths: • a jvm and classpath just for the Lein self-install .jar ◦ persistent • a jvm and classpath with plugins in it ◦ short-lived ◦ this is the one I want! • a jvm and classpath with one's actual, non-plugin dependencies

thumbnail05:10:24

I think it should be possible to write a simple lein plugin which has eval-in-leiningen true in the project.clj, and just print (System/getProperties "java.class.path") in the entry point

👍 1
vemv07:10:52

thanks! sounds like it would work

1