You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
For specifying system-wide attributes Leiningen uses $HOME/.lein/profiles.clj file and its :user profile. It works for Clojure-Android projects as well, except for three attributes: :dependencies, :repl-options and :injections. On many configurations they include dependencies and hooks that are incompatible with Clojure-Android, so they are just ignored by lein-droid.
but, lein droid build looks like gets all of dependencies in ${HOME}/.lein/profiles.clj.
I expect that lein-droid excludes kibit...but lein droid build makes error:
$ lein droid build
...................
Build type: debug, dynamic compilation: enabled, remote REPL: enabled.
...................
Compiling kibit.rules.arithmetic
Exception in thread "main" java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:274)
...................
Caused by: java.lang.IllegalArgumentException: No matching ctor found for class kibit.rules.util$compile_rule$fn__4914
at clojure.lang.Reflector.invokeConstructor(Reflector.java:163)
at clojure.lang.LispReader$EvalReader.invoke(LispReader.java:1053)
...................
Compilation failed.
The text was updated successfully, but these errors were encountered:
I forgot to update that part of the docs. In version 0.3.0-x lein-droid no longer messes with the profiles and excludes any dependencies. Please recreate the project using the newest lein-droid version and stick to this documentation https://github.com/clojure-android/lein-droid/wiki/Profiles.
project.clj options :profiles said:
but,
lein droid build
looks like gets all of dependencies in${HOME}/.lein/profiles.clj
.ex)
${HOME}/.lein/profiles.clj
:I expect that lein-droid excludes kibit...but
lein droid build
makes error:The text was updated successfully, but these errors were encountered: