If you are using Leiningen, try putting those dependencies in a
:provided profile - see
https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md#default-profiles.
I interpret that to mean they won't be included in the uberjar, but
haven't tested to confirm.

- Toby

On Tue, Jun 30, 2015 at 10:09 AM, Robin Heggelund Hansen
<skinney...@gmail.com> wrote:
> I tried the following, but didn't seem to have any effect:
> [org.clojure/clojurescript "0.0-3211" :scope "provided"]
>
>
> tirsdag 30. juni 2015 16.02.50 UTC+2 skrev Alex Miller følgende:
>>
>> You could try setting the :scope for the dependencies - I'm not sure if
>> uberjar does the right thing there or not but seems like it should.
>>
>> On Tuesday, June 30, 2015 at 3:56:31 AM UTC-5, Robin Heggelund Hansen
>> wrote:
>>>
>>> I'm trying to get the smallest uberjar as possible. Currently I have a
>>> bunch of dependencies for compiling server resources (clojurescript,
>>> garden...) that are required at compile-time, but don't have to be in the
>>> uberjar. How can I create an uberjar without bundling these resources?
>>>
>>> Thanks!
>
> --
> 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Clojure" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to clojure+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to