Browse files

include java source files in jar as well

  • Loading branch information...
1 parent 7b521d6 commit 098acdf93e765cd6f1eece75e98b854fdbf5e90c @nathanmarz committed Sep 27, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/leiningen/jar.clj
@@ -171,6 +171,9 @@
(when (and (:resources-path project)
(.exists (file (:resources-path project))))
[{:type :path :path (:resources-path project)}])
+ (when (and (:java-source-path project)
+ (not (:omit-source project)))
+ [{:type :path :path (:java-source-path project)}])
(when-not (:omit-source project)
[{:type :path :path (:source-path project)}])
(shell-wrapper-filespecs project deps-fileset)))

0 comments on commit 098acdf

Please sign in to comment.