Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the tutorial for neko 3.1.0-preview1 and lein-droid 0.3.0-beta3 #11

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 38 additions & 24 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,51 @@
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.0.0"

:warn-on-reflection true
:global-vars {*warn-on-reflection* true}

:source-paths ["src/clojure" "src"]
:java-source-paths ["src/java" "gen"]
:java-source-paths ["src/java"]
:javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]
:dependencies [[org.clojure-android/clojure "1.5.1-jb"]
[neko/neko "3.0.0-preview4"]]
:profiles {:dev {:dependencies [[android/tools.nrepl "0.2.0-bigstack"]
[org.clojure-android/clojure-complete "0.3.0-SNAPSHOT"]]
:android {:aot :all-with-unused}}
: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"
:aot :all}}}
: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
:plugins [[lein-droid "0.3.0-beta4"]]

:dependencies [[org.clojure-android/clojure "1.7.0-alpha4" :use-resources true]
[neko/neko "3.1.0-preview3"]]
:profiles {:default [:dev]

:dev
[:android-common :android-user
{:dependencies [[org.clojure-android/tools.nrepl "0.2.6-lollipop"]]
:target-path "target/debug"
:android {:aot :all-with-unused
:rename-manifest-package "com.lxsameer.events.debug"
:manifest-options {:app-name "EventListing - debug"}}}]
:release
[:android-common
{:target-path "target/release"
:android
{ ;; Specify the path to your private keystore
;; and the the alias of the key you want to
;; sign APKs with.
;; :keystore-path "/home/user/.android/private.keystore"
;; :key-alias "mykeyalias"

:ignore-log-priority [:debug :verbose]
:aot :all
:build-type :release}}]}

:android {;; Specify the path to the Android SDK directory.

;; Try increasing this value if dexer fails with
;; OutOfMemoryException. Set the value according to your
;; available RAM.
:dex-opts ["-JXmx4096M"]
:dex-opts ["-JXmx4096M"]

;; If previous option didn't work, uncomment this as well.
;; :force-dex-optimize true

:target-version "15"
:aot-exclude-ns ["clojure.parallel" "clojure.core.reducers"]})
:target-version "19"
:aot-exclude-ns ["clojure.parallel" "clojure.core.reducers"
"cljs-tooling.complete" "cljs-tooling.info"
"cljs-tooling.util.analysis" "cljs-tooling.util.misc"
"cider.nrepl" "cider-nrepl.plugin"]})
Loading