Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defproject foo/foo "0.0.1-SNAPSHOT"
- :description "foo"
- :url "foo.com"
- :license {:name "Eclipse Public License"
- :url "http://www.eclipse.org/legal/epl-v10.html"}
- :min-lein-version "2.0.0"
- :global-vars {*warn-on-reflection* true}
- :source-paths ["src/clojure" "src"]
- :java-source-paths ["src/java" "gen"]
- :javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]
- :dependencies [[org.clojure-android/clojure "1.6.0-RC1" :use-resources true]
- [org.clojure/core.async "0.1.303.0-886421-alpha"]
- ;[org.clojure/tools.analyzer.jvm "0.1.0-beta12"]
- [neko/neko "3.0.0-preview4"]]
- :profiles {:dev {:dependencies [[org.clojure/tools.nrepl "0.2.3"]
- [compliment "0.0.3"]]
- :android {:aot :all-with-unused
- :aot-exclude-ns [cljs.core.async.macros
- cljs.core.async.impl.ioc-macros
- ]}}
- :release {:android
- {;; Specify the path to your private keystore
- ;; and the the alias of the key you want to
- ;; sign APKs with. Do it either here or in
- ;; ~/.lein/profiles.clj
- ;; :keystore-path "/home/user/.android/private.keystore"
- ;; :key-alias "mykeyalias"
- :ignore-log-priority [:debug :verbose]
- :aot :all
- :aot-exclude-ns [cljs.core.async.macros
- cljs.core.impl-ioc-macros]}}}
- :android {;; Specify the path to the Android SDK directory either
- ;; here or in your ~/.lein/profiles.clj file.
- ;; :sdk-path "/home/user/path/to/android-sdk/"
- ;; Uncomment this if dexer fails with
- ;; OutOfMemoryException. Set the value according to your
- ;; available RAM.
- :dex-opts ["-JXmx2048M"]
- ;; If previous option didn't work, uncomment this as well.
- ;; :force-dex-optimize true
- :target-version "17"
- :aot-exclude-ns ["clojure.parallel" "clojure.core.reducers"]})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement