Fork me on GitHub
#leiningen
<
2019-08-09
>
jumar05:08:34

I thought that lein with-profile base ... would be basically the same thing as removing my ~/.lein/profiles.clj but it doesn't seem to be the case: https://github.com/cryogen-project/cryogen/issues/178 Anyone knows why and/or a way how to do it without removing the profiles.clj file?

mikerod09:08:19

@jumar what about if you do with-profile -user ... I’m curious.

jumar04:08:58

@U0LK1552A It aws basically the same thing - failed as with with-profile base However, now I'm cleared my profile.clj it works! It was too many things that I commented out, so not really sure which dependency or plugin could cause that.

jumar04:08:23

might have been JDK 9+ incompatibility of some of those deps/plugins too

🤯 1
xiongtx21:08:20

Not sure I understand how :managed-dependencies is useful as described here: https://www.deps.co/blog/how-to-upgrade-clojure-projects-to-use-java-11/ AFAICT if you specify [org.flatland/ordered "1.5.7"] in :dependencies of you project.clj, it should override versions used in any other dependency transitively, no? So what’s the advantage of using :managed-dependencies?