boot-clj / boot

Build tooling for Clojure.
https://boot-clj.github.io/
Eclipse Public License 1.0
1.75k stars 180 forks source link

how to set java-source-path like in lein #643

Closed jiacai2050 closed 6 years ago

jiacai2050 commented 6 years ago

I have tried this, but no luck.

(set-env!
 :source-paths #{"src"}
 :java-source-paths #{"java_src"}
 :dependencies '[.....])

https://github.com/boot-clj/boot/wiki/Boot-Environment This document doesn't have some like java-source-paths, Is there anything I'm missing ? Thanks in advance.

Deraen commented 6 years ago

:source-paths #{"src" "java_src"}

and add javac task to your pipeline.

jiacai2050 commented 6 years ago

Thanks