This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-08-25
Channels
- # announcements (21)
- # babashka (8)
- # beginners (11)
- # calva (11)
- # clj-kondo (14)
- # clojure (52)
- # clojure-chicago (6)
- # clojure-europe (10)
- # clojure-nl (32)
- # clojure-norway (38)
- # clojure-uk (3)
- # code-reviews (2)
- # conjure (1)
- # cursive (6)
- # datahike (4)
- # hyperfiddle (15)
- # introduce-yourself (3)
- # lsp (10)
- # matrix (17)
- # off-topic (8)
- # polylith (3)
- # slack-help (12)
- # specter (4)
- # vim (20)
- # xtdb (15)
Hello, I'm trying to use polylith to produce libraries (not executable jars), I use polylith build.clj
as a reference, I've copied and adjusted lifted-basis
and jar
functions, I can build a jar successfully using clj -T:build jar :project project-name
. The problem I have is that there are no clojure sources in the resulting jar file, only pom.xml
and pom.properties
. Should I explicitly copy all the sources from all project dependencies? Is it missing in polylith build.clj
? I can see a println statement, which says that something is being copied (https://github.com/polyfy/polylith/blob/master/build.clj#L170) but I don't see any b/copy-dir
calls. Am I missing something? Thank you in advance.
Have a look in the https://github.com/polyfy/polylith/blob/issue-318/build.clj branch that I’m working on, I think it has been fixed there.