Fork me on GitHub
#leiningen
<
2019-09-25
>
johnnyillinois05:09:03

If I want a dependency to be available during compilation of an uberjar but not bundled inside the uberjar. How would I go about that?

johnnyillinois05:09:51

Put it in {:profiles {:uberjar {:dependencies [[my-jar-here "0.1.0"]]}}

johnnyillinois05:09:34

I think the profile provided is correct

👍 4
sgerguri08:09:36

Yes - you can have profile-specific dependencies like in the example above.

mikerod14:09:32

@johnnyillinois [my-jar-here "0.1.0" :scope "provided"] as an example