-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
63 lines (54 loc) · 2.7 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
(defproject gvr-clojure/gvr-clojure "0.1.0-SNAPSHOT"
:description "FIXME: Android project description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:global-vars {clojure.core/*warn-on-reflection* true}
:source-paths ["src/clojure" "src"]
:java-source-paths ["src/java"]
:javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]
:plugins [[lein-droid "0.4.6"]]
:repositories [["googlevr" {:url "http://google.bintray.com/googlevr/"}]]
:dependencies [[org.clojure-android/clojure "1.7.0-r4"]
[neko/neko "4.0.0-alpha5"]
[com.google.vr/sdk-base "1.10.0" :extension "aar"]]
:profiles {:default [:dev]
:dev
[:android-common :android-user
{:dependencies [[org.clojure/tools.nrepl "0.2.10"]]
:target-path "target/debug"
:android {:aot :all-with-unused
:manifest-options {:app-name "MinGvrApp (debug)"}
;; Uncomment to be able install debug and release side-by-side.
;; :rename-manifest-package "me.sxp.gvrclojure.debug"
}}]
:release
[:android-common
{:target-path "target/release"
:android
{;; :keystore-path "/home/user/.android/private.keystore"
;; :key-alias "mykeyalias"
;; :sigalg "MD5withRSA"
:use-debug-keystore true
:ignore-log-priority [:debug :verbose]
:aot :all
:build-type :release}}]
:lean
[:release
{:dependencies ^:replace [[org.skummet/clojure "1.7.0-r2"]
[neko/neko "4.0.0-alpha5"]]
:exclusions [[org.clojure/clojure]
[org.clojure-android/clojure]]
:jvm-opts ["-Dclojure.compile.ignore-lean-classes=true"]
:android {:lean-compile true
:proguard-execute true
:proguard-conf-path "build/proguard-minify.cfg"}}]}
:android {;; Specify the path to the Android SDK directory.
;; :sdk-path "/home/user/path/to/android-sdk/"
;; Increase this value if dexer fails with OutOfMemoryException.
:dex-opts ["-JXmx4096M" "--incremental"]
:target-version "25"
:aot-exclude-ns ["clojure.parallel" "clojure.core.reducers"
"cider.nrepl" "cider-nrepl.plugin"
"cider.nrepl.middleware.util.java.parser"
#"cljs-tooling\..+"]})