(def version (str "2.0." (clojure.string/trim-newline (slurp "../desktop/last-release")) "-snapshot")) (defproject tickstales.core version :description "FIXME: write description" :manifest {"Implementation-Version" version} :dependencies [[com.badlogicgames.gdx/gdx "1.9.4" :use-resources true] [com.badlogicgames.gdx/gdx-box2d "1.9.4"] [com.badlogicgames.gdx/gdx-backend-android "1.9.4"] [neko/neko "4.0.0-alpha5"] [com.android.billingclient/billing "dp-1" :extension "aar"] [com.google.android.gms/play-services-games "11.6.2" :extension "aar" :exclusions [com.android.support/support-annotations]] [com.google.android.gms/play-services-auth "11.6.2" :extension "aar" :exclusions [com.android.support/support-annotations]] [com.google.android.gms/play-services-tasks-license "11.6.2" :extension "aar" :exclusions [com.android.support/support-annotations]] [com.google.android.gms/play-services-auth-api-phone-license "11.6.2" :extension "aar" :exclusions [com.android.support/support-annotations]] #_[com.google.android.gms/play-services "11.6.2" :extension "aar" :exclusions [com.android.support/support-annotations]] [org.clojure/tools.logging "0.3.1" :exclusions [org.clojure/clojure]] [org.clojure-android/clojure "1.7.0-r4"] [org.im4java/im4java "1.4.0"] [play-clj "0.4.6-BRYCE" :exclusions [org.clojure/clojure]] [org.clojure/data.priority-map "0.0.5"] [org.clojure/core.async "0.2.371" :exclusions [org.clojure/clojure]]] :plugins [[lein-droid "0.4.7-snapshot" :exclusions [org.clojure/clojure] ]] :repositories [["jCenter" "https://jcenter.bintray.com/"] ["google" "https://maven.google.com"]] :profiles {:dev {:dependencies [[android/tools.nrepl "0.2.0-bigstack"] [compliment "0.1.3"] [org.clojure/tools.nrepl "0.2.7" :exclusions [org.clojure/clojure]]] :jvm-opts ["-Dplatform=android"] :android {:aot :all-with-unused :rename-manifest-package "tickstales.core.debug" :manifest-options {:app-name "ticks tales (debug)"} :aot-exclude-ns ["clojure.core.memoize" "core.async"]}} :release { :jvm-opts ["-Dplatform=android"] :android {;; Specify the path to your private ;; keystore and the the alias of the ;; key you want to sign APKs with. :keystore-path "debug.keystore" :key-alias "androiddebugkey" :rename-manifest-package "tickstales.core" :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/bryce/dev/advent/android/sdk" ;; Uncomment this if dexer fails with OutOfMemoryException #_#_:force-dex-optimize true :assets-paths ["../desktop/resources"] :native-libraries-paths ["libs"] :target-version "28" ; 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"])