This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-08-31
Channels
- # announcements (6)
- # babashka (32)
- # beginners (78)
- # biff (11)
- # calva (7)
- # clj-kondo (20)
- # clojure (35)
- # clojure-europe (10)
- # clojure-nl (4)
- # clojure-norway (8)
- # clojure-uk (2)
- # clojurescript (41)
- # conjure (14)
- # core-async (10)
- # cursive (7)
- # datomic (12)
- # deps-new (4)
- # emacs (15)
- # fulcro (48)
- # gratitude (11)
- # hugsql (1)
- # hyperfiddle (3)
- # introduce-yourself (3)
- # jobs (3)
- # klipse (2)
- # off-topic (7)
- # polylith (30)
- # reitit (1)
- # remote-jobs (1)
- # reveal (8)
- # scittle (4)
- # shadow-cljs (40)
- # squint (13)
- # tools-deps (7)
- # xtdb (7)
Hi, I'm trying to install a Java library (undisclosed for privacy reasons) that uses Grade instead of pom.xml or deps.edn. Due to this, I specify its git coordinate along with {:deps/manifest :deps} and fetch all of its transitive dependencies in my project's deps.edn. While I can see the library has been downloaded at ~/.gitlibs/libs, I can't seem to be able to import its packages from a Clojure REPL, while I can import its dependencies without any issues. Do you know if this is even allowed?
@U03JT1RV0R0 I'm not sure what this has to do with the deps-new
project -- can you elaborate?
A Java project needs to be compiled, and the Clojure project's classpath needs to include where those Java .class
files are.
Also, if the project doesn't have pom.xml
, you're not going to get any of its transitive dependencies -- because there's nothing for Clojure's CLI (and tools.deps.alpha
) to find.
Thanks for the explanation! And yeah, apologies, I totally missed what channel I was posting this question to.