tools-deps

Drew Verlee 2025-05-30T21:38:16.917119Z

I'll try to test this and report back, but does including a file thats not a .clj, cljs, or cljc on the :paths vector do anything at all? Like, if we build a jar, and i include directory that has sql files in the deps :paths, will it get copied into the jar (it certainly wont get compiled!). Or will it just get ignored?

2025-05-30T21:47:01.828289Z

This is more of a #tools-build question, but it will get copied, this is how you add resources

👍 1
Alex Miller (Clojure team) 2025-05-30T22:06:47.439719Z

:paths refers to directories (not files) that will get added to the classpath (what files are in those directories is not restricted in any way)

Alex Miller (Clojure team) 2025-05-30T22:07:24.764979Z

as hiredman says, what you put in the jar is up to you depending on how you define the build script and what you jar up

Drew Verlee 2025-05-30T22:09:10.271279Z

thanks!