Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

leiningen 2.7.0 regression #154

Open
dehubbed opened this issue Sep 7, 2016 · 1 comment
Open

leiningen 2.7.0 regression #154

dehubbed opened this issue Sep 7, 2016 · 1 comment

Comments

@dehubbed
Copy link

dehubbed commented Sep 7, 2016

After upgrading leiningen from 2.6.1 to 2.7.0 I get this on any 'lein droid' task:

clojure.lang.ArityException: Wrong number of args (2) passed to: classpath/get-dependencies
 at clojure.lang.AFn.throwArity (AFn.java:429)
    clojure.lang.RestFn.invoke (RestFn.java:427)
    clojure.lang.AFn.applyToHelper (AFn.java:156)
    clojure.lang.RestFn.applyTo (RestFn.java:132)
    clojure.core$apply.invokeStatic (core.clj:650)
    clojure.core$apply.invoke (core.clj:641)
    leiningen.droid.classpath$dependencies_hook.invokeStatic (classpath.clj:48)
    leiningen.droid.classpath$dependencies_hook.doInvoke (classpath.clj:43)
    clojure.lang.RestFn.invoke (RestFn.java:445)
    clojure.lang.Var.invoke (Var.java:388)
    clojure.lang.AFn.applyToHelper (AFn.java:160)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.core$apply.invokeStatic (core.clj:648)
    clojure.core$apply.invoke (core.clj:641)
    robert.hooke$compose_hooks$fn__12159.doInvoke (hooke.clj:40)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    clojure.core$apply.invokeStatic (core.clj:646)
    clojure.core$apply.invoke (core.clj:641)
    robert.hooke$run_hooks.invokeStatic (hooke.clj:46)
    robert.hooke$run_hooks.invoke (hooke.clj:45)
    robert.hooke$prepare_for_hooks$fn__12164$fn__12165.doInvoke (hooke.clj:54)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    clojure.lang.AFunction$1.doInvoke (AFunction.java:29)
    clojure.lang.RestFn.invoke (RestFn.java:421)
    leiningen.droid.aar$get_aar_dependencies.invokeStatic (aar.clj:13)
    leiningen.droid.aar$get_aar_dependencies.invoke (aar.clj:10)
    leiningen.droid.aar$extract_aar_dependencies.invokeStatic (aar.clj:32)
    leiningen.droid.aar$extract_aar_dependencies.invoke (aar.clj:29)
    leiningen.droid$droid.invokeStatic (droid.clj:67)
    leiningen.droid$droid.doInvoke (droid.clj:49)
    clojure.lang.RestFn.invoke (RestFn.java:423)
    clojure.lang.Var.invoke (Var.java:383)
    clojure.lang.AFn.applyToHelper (AFn.java:156)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.core$apply.invokeStatic (core.clj:648)
    clojure.core$apply.invoke (core.clj:641)
    leiningen.core.main$partial_task$fn__6099.doInvoke (main.clj:272)
    clojure.lang.RestFn.applyTo (RestFn.java:139)
    clojure.lang.AFunction$1.doInvoke (AFunction.java:29)
    clojure.lang.RestFn.applyTo (RestFn.java:137)
    clojure.core$apply.invokeStatic (core.clj:648)
    clojure.core$apply.invoke (core.clj:641)
    leiningen.core.main$apply_task.invokeStatic (main.clj:322)
    leiningen.core.main$apply_task.invoke (main.clj:308)
    leiningen.core.main$resolve_and_apply.invokeStatic (main.clj:328)
    leiningen.core.main$resolve_and_apply.invoke (main.clj:324)
    leiningen.core.main$_main$fn__6165.invoke (main.clj:401)
    leiningen.core.main$_main.invokeStatic (main.clj:394)
    leiningen.core.main$_main.doInvoke (main.clj:391)
    clojure.lang.RestFn.invoke (RestFn.java:421)
    clojure.lang.Var.invoke (Var.java:383)
    clojure.lang.AFn.applyToHelper (AFn.java:156)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.core$apply.invokeStatic (core.clj:646)
    clojure.main$main_opt.invokeStatic (main.clj:314)
    clojure.main$main_opt.invoke (main.clj:310)
    clojure.main$main.invokeStatic (main.clj:421)
    clojure.main$main.doInvoke (main.clj:384)
    clojure.lang.RestFn.invoke (RestFn.java:457)
    clojure.lang.Var.invoke (Var.java:394)
    clojure.lang.AFn.applyToHelper (AFn.java:165)
    clojure.lang.Var.applyTo (Var.java:700)
    clojure.main.main (main.java:37)
@alexander-yakushev
Copy link
Contributor

alexander-yakushev commented Oct 23, 2016

Similarly to #155, this is because leiningen.core.classpath/get-dependencies was changed in 2.7.0. This bug is now fixed in lein-droid 0.4.6. Thanks for reporting!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants