Files
gitea-docker/android/project.clj
Bryce Covert 9a7c1078a2 IAPing.
2017-09-25 11:28:29 -07:00

72 lines
3.4 KiB
Clojure

(def version (str "2.0." (clojure.string/trim-newline (slurp "../desktop/last-release")) "-snapshot"))
(defproject advent version
:description "FIXME: write description"
:manifest {"Implementation-Version" version}
:dependencies [[com.badlogicgames.gdx/gdx "1.9.3" :use-resources true]
[com.badlogicgames.gdx/gdx-backend-lwjgl "1.9.3"]
[com.badlogicgames.gdx/gdx-box2d "1.9.3"]
[com.badlogicgames.gdx/gdx-tools "1.9.3"]
[com.badlogicgames.gdx/gdx-backend-android "1.9.3"]
[neko/neko "4.0.0-alpha5"]
[com.android.billingclient/billing "dp-1" :extension "aar"]
[org.clojure/tools.logging "0.3.1"]
[org.clojure-android/clojure "1.7.0-r4"]
[org.im4java/im4java "1.4.0"]
[org.clojure/tools.nrepl "0.2.7"]
[play-clj "0.4.6-BRYCE"]
[org.clojure/data.priority-map "0.0.5"]
[org.clojure/core.async "0.2.371"]]
:plugins [[lein-droid "0.4.6"]]
:repositories [["jCenter" "https://jcenter.bintray.com/"]]
:profiles {:dev {:dependencies [[android/tools.nrepl "0.2.0-bigstack"]
[compliment "0.1.3"]]
:android {:aot :all-with-unused
:rename-manifest-package "advent.core.debug"
:manifest-options {:app-name "ticks tales (debug)"}
:aot-exclude-ns ["clojure.core.memoize" "core.async"]}}
:release {:android
{;; Specify the path to your private
;; keystore and the the alias of the
;; key you want to sign APKs with.
;; :keystore-path "ticks-talkes-release.jks"
;; :key-alias "ticks-tales-release"
:jvm-opts ["-Dplatform=android"]
:build-type :release
:aot :all-with-unused
:aot-exclude-ns [cljs.core.async.macros cljs.core.impl-ioc-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 "/Users/brycecovert/dev/advent/android/sdk"
;; Uncomment this if dexer fails with OutOfMemoryException
#_#_:force-dex-optimize true
:assets-paths ["/Users/brycecovert/dev/advent/desktop/resources"]
:native-libraries-paths ["libs"]
:target-version "24" ; 18+
:aot-exclude-ns ["clojure.parallel" "clojure.core.reducers"
"cider.nrepl" "cider-nrepl.plugin"
"cider.nrepl.middleware.util.java.parser"
#"cljs-tooling\..+" "cljs.core.async.macros"
"cljs.core.async.impl.ioc-macros"
"cljs.core.impl.ioc_macros"
#"com.badlogic.gdx.physics\..+"]
:multi-dex true
:multi-dex-proguard-conf-path "proguard-multi-dex.cfg"
:dex-opts ["-JXmx8192M" "--no-locals"]}
:source-paths ["src/clojure" "../desktop/src-common"]
:java-source-paths ["src/java" "gen" ]
:javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"])