Advertisement
Guest User

Untitled

a guest
Jun 17th, 2014
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (defproject foo/foo "0.0.1-SNAPSHOT"
  2.   :description "foo"
  3.   :url "foo.com"
  4.   :license {:name "Eclipse Public License"
  5.             :url "http://www.eclipse.org/legal/epl-v10.html"}
  6.   :min-lein-version "2.0.0"
  7.  
  8.   :global-vars {*warn-on-reflection* true}
  9.  
  10.   :source-paths ["src/clojure" "src"]
  11.   :java-source-paths ["src/java" "gen"]
  12.   :javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]
  13.  
  14.   :dependencies [[org.clojure-android/clojure "1.6.0-RC1" :use-resources true]
  15.                  [org.clojure/core.async "0.1.303.0-886421-alpha"]
  16.                  ;[org.clojure/tools.analyzer.jvm "0.1.0-beta12"]
  17.                  [neko/neko "3.0.0-preview4"]]
  18.   :profiles {:dev {:dependencies [[org.clojure/tools.nrepl "0.2.3"]
  19.                                   [compliment "0.0.3"]]
  20.                    :android {:aot :all-with-unused
  21.                              :aot-exclude-ns [cljs.core.async.macros
  22.                                               cljs.core.async.impl.ioc-macros
  23.                                               ]}}
  24.              :release {:android
  25.                        {;; Specify the path to your private keystore
  26.                         ;; and the the alias of the key you want to
  27.                         ;; sign APKs with. Do it either here or in
  28.                         ;; ~/.lein/profiles.clj
  29.                         ;; :keystore-path "/home/user/.android/private.keystore"
  30.                         ;; :key-alias "mykeyalias"
  31.  
  32.                         :ignore-log-priority [:debug :verbose]
  33.                         :aot :all
  34.                         :aot-exclude-ns [cljs.core.async.macros
  35.                                          cljs.core.impl-ioc-macros]}}}
  36.  
  37.   :android {;; Specify the path to the Android SDK directory either
  38.             ;; here or in your ~/.lein/profiles.clj file.
  39.             ;; :sdk-path "/home/user/path/to/android-sdk/"
  40.  
  41.             ;; Uncomment this if dexer fails with
  42.             ;; OutOfMemoryException. Set the value according to your
  43.             ;; available RAM.
  44.             :dex-opts ["-JXmx2048M"]
  45.  
  46.             ;; If previous option didn't work, uncomment this as well.
  47.             ;; :force-dex-optimize true
  48.  
  49.             :target-version "17"
  50.             :aot-exclude-ns ["clojure.parallel" "clojure.core.reducers"]})
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement