Fork me on GitHub
#leiningen
<
2016-04-11
>
bostonaholic16:04:22

is there a way to specify a dependency’s packaging type?

bostonaholic16:04:41

similar to:

<dependency>
      <groupId>rubygems</groupId>
      <artifactId>sass</artifactId>
      <version>3.4.22</version>
      <type>gem</type>
    </dependency>

bostonaholic16:04:55

[rubygems/sass "3.4.22" :type "gem”] doesn’t seem to work

bostonaholic16:04:06

[rubygems/sass "3.2.14" :extension "gem”] is what works

mhcat20:04:07

hey - I was under the impression that if something appears at the top level in the output of lein deps :tree, it means it's a project dependency, not a transitive dependency - but I'm seeing a dependency on org.clojure/tools.nrepl that I can't explain that way, and it conflicts with the version injected by cider-jack-in. It isn't in my ~/.lein/profiles.clj either. Any suggestions?