Fork me on GitHub

I have a library that depends on Om Next. But only a minimal, core (i.e. won't change anytime soon) set of Om Next features. This library will always be used while developing Om Next programs. So it would be good if the dependency could be supplied by the user, rather than by the library itself. Is that possible with Leiningen?


cjmurphy: I think :scope "provided"


Thanks @tomjack I'll put that in. Seems like if the user provides that version or higher of the third-party library (clojure "1.7.0" for om in your reference and om "1.0.0-alpha31" for default-db-format ('my library') in my case) then dependency satisfied. If the user happens to only be providing something lower then it is hard to say what will happen.