make lein uberjar without source files
clojure, leiningen, uberjar
Solution
Use `:omit-source true` in lein's `project.clj`.
Problem
I'm using 'lein uberjar' to make a executable jar file of my project. the jar is created correctly and runs as expected. I just want to know if it is possible to NOT include my source .clj files in the generated .jar, since I'm planning to distribute it, and I don't want my source files available to the public. I'm using lein 1.7.1 if not possible with lein, would it work if I just manually removed the .clj files from the jar? I did a test and it worked, by I want to be sure that this is safe to do. thanks in advance.