 ;;
 (ns leiningen.droid
   (:refer-clojure :exclude [compile doall repl])
+  (:require clojure.pprint)
   (:use [leiningen.core.project :only [set-profiles]]
         [leiningen.core.main :only [abort]]
         [leiningen.help :only (subtask-help-for)]

                   #'create-apk #'sign-apk #'zipalign-apk
                   #'install #'run #'forward-port #'repl
                   #'build #'apk #'deploy #'doall #'release #'help
                   #'gather-dependencies #'jar]}
  droid
  "Supertask for Android-related tasks (see `lein droid` for list)."
  ([project]

          (println "lein-droid is a plugin for Clojure/Android development."
                   (subtask-help-for nil droid-var))))

(defn pprint
  "Pretty-prints a representation of the project map."
  [project & keys]
  (if (seq keys)
    (doseq [k keys]
      (clojure.pprint/pprint (get project (read-string k))))
    (clojure.pprint/pprint project))
  (flush))

(declare execute-subtask)

