Closed worrel closed 10 years ago
Good, thank you. I'm thinking if it is time to give-up the "non-buildtools` case, as I doubt someone still uses SDK that old.
You're right, made it a String for now. Also resolved my weird Leiningen issue (upgrading to 2.4.2 from 2.4.0 fixed it) so I was able to test this out.
Hmm OK, but how do you handle the difference between say, v19 and v20 of the build tool then? I just installed the v20 some tools are in different places: zipalign is now in build-tools for instance, so lein-droid 0.2.3 fails in this case.
I mean having these three conditions:
(cond (>= bt-ver 20) ...
bt-dir ...
:else ...)
I modified your PR to remove the code responsible for handling BT ver. <17. Thank your for cooperation!
Thanks! Sorry about radio silence - I was on extended vacation.
That's cool:) lein-droid 0.3.0 is incoming soon with this change inside.
Parsed either build-tools-version or name of build-tools subfolder to determine version. Also includes updated tool location for zipalign for v20. Note, shemefully, I'm unable to build the plugin to test this (lein seems to hang & peg 1 core at max), but the code works at the REPL.