Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix a bug on Windows with resolving Clojure jar

  • Loading branch information...
commit 79f0d762bb351c4385ab1dcdb04c87bfba640cad 1 parent db88288
Alexander Yakushev alexander-yakushev authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  project.clj
  2. +1 −1  src/leiningen/droid/build.clj
2  project.clj
View
@@ -1,4 +1,4 @@
-(defproject lein-droid/lein-droid "0.1.0-beta5"
+(defproject lein-droid/lein-droid "0.1.0-beta6"
:description "Plugin for easy Clojure/Android development and deployment"
:url "https://github.com/alexander-yakushev/lein-droid"
:license {:name "Eclipse Public License"
2  src/leiningen/droid/build.clj
View
@@ -137,7 +137,7 @@
(let [apkbuilder-bin (str sdk-path "/tools/apkbuilder")
suffix (if (dev-build? project) "debug-unaligned" "unaligned")
unaligned-path (append-suffix out-apk-path suffix)
- clojure-jar (first-matched #(re-find #"android/clojure" (str %))
+ clojure-jar (first-matched #(re-find #"android[/\\]clojure" (str %))
(resolve-dependencies :dependencies project))
rj-line (if java-only [] ["-rj" (str clojure-jar)])]
(sh apkbuilder-bin unaligned-path "-u"
Please sign in to comment.
Something went wrong with that request. Please try again.