This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-04-19
Channels
- # announcements (37)
- # aws (6)
- # babashka (12)
- # babashka-sci-dev (16)
- # beginners (83)
- # biff (10)
- # cider (14)
- # cljdoc (26)
- # cljs-dev (20)
- # clojure (123)
- # clojure-czech (9)
- # clojure-europe (26)
- # clojure-nl (4)
- # clojure-norway (20)
- # clojure-spec (7)
- # clojure-uk (6)
- # clojured (14)
- # clojurescript (28)
- # cursive (5)
- # datalevin (8)
- # datomic (3)
- # duct (6)
- # emacs (26)
- # events (2)
- # fulcro (7)
- # gratitude (1)
- # holy-lambda (19)
- # integrant (1)
- # jobs (2)
- # leiningen (8)
- # lsp (7)
- # nyc (1)
- # pathom (70)
- # re-frame (8)
- # reagent (15)
- # releases (1)
- # sci (8)
- # shadow-cljs (117)
- # testing (5)
- # tools-deps (11)
- # vim (5)
I have a clojure version issue with a lein plugin, there is this jar on clojars called clojure-lsp-standalone, it has a org.clojure/clojure
dep with 1.11.1
version, and there is lein-clojure-lsp
plugin which just uses that jar.
When I use the plugin in a clojure project that have other multiple plugins (but the deps of the project is using clojure 1.11.1), it doesn't find parse-long
which is from 1.11.0 and it's being used by clojure-lsp, What's the best way to fix that?
what's the best way to a plugin declare a clojure dep, AFAIK it should not have a org.clojure/clojure declared on its project.clj right?
From what I see in https://clojars.org/com.github.clojure-lsp/clojure-lsp-standalone/versions/2022.04.18-00.59.32-hotfix2 you do declare a vanilla 1.11 dep, right? Which sounds correct
I've had mixed experiences with dep resolution in plugins, at least two scars come to mind I've been happy coding e.g. Eastwood with up to (down to?) 1.7 compatibility, verified in CI, in practice it's little pain and a whole lot of peace of mind