Fork me on GitHub
#boot
<
2017-03-26
>
thedavidmeister03:03:21

hey, dumb q, but how do i set a dependency to a git commit?

thedavidmeister04:03:59

nm, i worked around it

kahlin17:03:36

Hi, I’m a bit of a n00b and have a question… I am writing a Clojurescript application and have created a jar with an external dependency (i.e. the actual library javascript and the externs, in the same format that jars from http://cljsjs.github.io provides). The jar is just a local file though (not in any repository). How do I setup my build.boot so I can use it from my clojurescript application?

alandipert17:03:14

@kahlin in the jar's project dir, you can boot install - that installs it to your local maven repo

alandipert17:03:30

then you can add it to your application using maven coordinates, even tho it only exists locally

kahlin17:03:09

Hmm, is a local maven repo something I need to set up or just something in my filesystem? (Like I said, a bit of a n00b… 😃 )

alandipert17:03:41

not something you need to set up, when you get deps in our build.boot it's created automatically for you in ~/.m2/repositories

alandipert17:03:58

it functions mostly as a cache... maven stuff checks there first before looking on internet

alandipert17:03:08

but you can install directly to it, and thereby circumvent internet

kahlin17:03:01

Ah, I see. Thanks!

alandipert17:03:34

np, :thumbsup: