> Why does AOT happen after exclusion? Shouldn't exclusion be the last
> > step in the process which would hardly break anything and would > > eventually fix the issue? > > Oh, I meant this would be a problem if you used profiles for > separating dependencies. If you use :uberjar-exclusions you'll be > fine. > > -Phil > Thank you all for the suggestions. I just tried to put my unwanted dependencies into the :dev profile, at the beginning AOT seems to work fine and lein uberjar does not include that .jar file. But once I started to use one of the functions in the .jar file (not just putting "import" in the ns), AOT failed. Although not ideal, :uberjar-exclusions works for me now as all the files in my issue .jar file has a common package prefix. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en