Fork me on GitHub
#leiningen
<
2018-12-17
>
macrobartfast19:12:48

how do I reload leiningen after adding a plugin? lein plz is not recognized. also, is there a new lein plz approach out there? seems to have been last updated 4 years ago... or maybe it didn't need updating.

mikerod19:12:08

@macrobartfast never tried lein plz, but maybe it doesn’t support dynamically adding plugins?

mikerod19:12:14

just add the plugin and restart your lein process to see

mikerod19:12:29

probably only supports adding normal :dependencies

mikerod19:12:40

(but don’t really know, seems like that’d be the straightforward one though)

macrobartfast19:12:40

ah, just got it working... I had the plugin under deps and not plugins 😳

macrobartfast19:12:47

in .lein/profiles.clj

mikerod19:12:40

ah that’ll also be an issue

macrobartfast19:12:20

hmm... using lein plz is producing errors... clojure.lang.Compiler$CompilerException: java.lang.NoClassDefFoundError: IllegalName: compile__stub.clj_http.headers.clj-http.headers/HeaderMap, compiling:(clj_http/headers.clj:105:1)

macrobartfast19:12:49

with lein plz list ring

macrobartfast19:12:01

just was trying it out with that.

mikerod19:12:26

perhaps an old version of clj-http incompatible with clj you are using?

mikerod19:12:33

but not much context here to diagnose it

mikerod19:12:48

I think that at some point clojure.lang.Compiler$CompilerException was added in clj compiler

Alex Miller (Clojure team)19:12:43

lein plz was last released 3.5 yrs ago which uses clj-http 1.1.0 (current version is 3.9.1)

Alex Miller (Clojure team)19:12:05

I don’t know what the problem is but I’m going to just assume it has to do with a pile of old stuff in plz

4