This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-12-02
Channels
- # adventofcode (97)
- # announcements (11)
- # babashka (18)
- # beginners (34)
- # biff (5)
- # cljfx (5)
- # clojure-europe (4)
- # clojure-uk (2)
- # clojurescript (7)
- # community-development (2)
- # hyperfiddle (8)
- # introduce-yourself (1)
- # music (2)
- # off-topic (2)
- # polylith (3)
- # practicalli (1)
- # releases (1)
- # shadow-cljs (28)
- # squint (1)
Hello! I am trying polylith for the first time and am a bit confused about how to manage external libraries. When I add a new lib, should I declare it on development
's deps.edn
and also a component's deps.edn
? Maybe this is a silly question but what is confusing me is that I am using Intellij + Cursive and the IDE resolves classes based on the development
's project classpath, not the individual component. Thanks for the help.
> When I add a new lib, should I declare it on development
's deps.edn
and also a component's deps.edn
?
If you switch to the latest version of Cursive, then you can use the :local-root
syntax in the development's ./deps.edn
file when you specify your bricks. Then it's enough to specify dependencies in each brick's deps.edn
file. Make sure you follow the instructions for the https://cljdoc.org/d/polylith/clj-poly/0.2.18-SNAPSHOT/doc/development#idea-cursive (this is the new documentation that you can use if you work from the master
branch).