Skip to content

Commit

Permalink
[Fix #10] skip repackage class files automatically
Browse files Browse the repository at this point in the history
if there are none in the dependencies of the project
  • Loading branch information
benedekfazekas committed Feb 28, 2016
1 parent 3b52cd9 commit 1165e7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/leiningen/source_deps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@
(info "project prefix: " pprefix)
(info "retrieve dependencies and munge clojure source files")
(doall (map (partial unzip&update-artifact! name version pprefix uuid skip-repackage-java-classes srcdeps-relative srcdeps dep-hierarchy prefix-exclusions) (keys ordered-hierarchy)))
(when-not skip-repackage-java-classes
(when-not (or skip-repackage-java-classes (empty? (class-files)))
(class-deps-jar!)
(apply-jarjar! name version)
(replace-class-deps!))))

0 comments on commit 1165e7a

Please sign in to comment.