This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-05
Channels
- # 100-days-of-code (13)
- # announcements (3)
- # beginners (120)
- # boot (17)
- # calva (19)
- # cider (27)
- # cljdoc (3)
- # cljs-dev (1)
- # clojure (138)
- # clojure-dev (5)
- # clojure-italy (5)
- # clojure-nl (20)
- # clojure-russia (3)
- # clojure-spec (14)
- # clojure-uk (119)
- # clojurescript (45)
- # core-async (2)
- # datomic (23)
- # editors (28)
- # emacs (35)
- # figwheel (2)
- # fulcro (26)
- # graphql (2)
- # hyperfiddle (11)
- # jobs (4)
- # luminus (5)
- # mount (2)
- # off-topic (52)
- # onyx (39)
- # reagent (86)
- # ring-swagger (2)
- # spacemacs (20)
- # tools-deps (9)
- # yada (4)
is there a workaround to https://dev.clojure.org/jira/browse/TDEPS-51 ?
Got it — thanks for the insights on lein compiles vs. clj, @alexmiller @mpenet !
If I'm making a library with tools.deps and it includes a Java file in it, how can I have that library be consumable in a way that allows people to import the java class? I know it the .java file needs to get compiled into a .class file at some point, which makes sense in an uberjar, but what about pulling in my library via git or :local/root
? Would it work / is it advisiable to put the .class file into version control?
You can’t - you should use a build tool to create and deploy an artifact
I’ve been playing around with tools.deps using Maven as a build tool, and it’s been a good experience. clj -Spom -Srepro
does mess with my pom.xml
in undesirable ways, but testing is straightforward with the clojure-maven-plugin
, and building uberjars with maven-shade-plugin
works great. The most pleasant thing for me has been the speed relative to Leiningen, it’s much faster.
reminds me of this: https://github.com/danielsz/meyvn