clojure-android / lein-droid

A Leiningen plugin for building Clojure/Android projects
Eclipse Public License 1.0
645 stars 56 forks source link

SDK versions #104

Closed Nutomic closed 9 years ago

Nutomic commented 9 years ago

The current default for target SDK is 15, which is rather outdated. I think this should be updated to 19 (Android 4.4).

Additionally, there should probably be an option to set the min SDK version.

alexander-yakushev commented 9 years ago

I agree that 19 can be the new default. Min SDK on the other hand is set in AndroidManifest.xml and I see no reason to set it from project.clj (since lein-droid doesn't itself use it in any way).

Nutomic commented 9 years ago

I actually meant adding a command line option, but not sure about it (at least it would allow a "create project" wizard like Android Studio has).

alexander-yakushev commented 9 years ago

OK, makes sense.

alexander-yakushev commented 9 years ago

:min-sdk is templatable since 1a15863300d77c75aaf857c35a215968a08bfba2. Default target version is kept at 15 for compatibility reasons.