chef-android-sdk
chef-android-sdk copied to clipboard
Use the sdkmanager command (when available)
Initial Motivation
https://github.com/travis-ci/travis-cookbooks/pull/837
To Do List:
- [ ] Adapt the Chef Cookbook parts
- [ ] Adapt the
android-update-sdkscript
Related:
- GH-34
/cc @Jawnnypoo, @rjaros87 and @brantone.
I don't know if you are already aware, but the sdkmanager has a different format as far as the names for components. Something more like extras;android;m2repository instead of extra-android-m2repository. So, there would probably need to be some communication to the user somewhere that if you are using the newer, use the names from sdkmanager, otherwise use the older names.
Speaking of sdkmanager : https://github.com/Brantone/chef-android-sdk/commit/5912ea63bbd84c84dfc204b1b03525cb01cdb311
I thought I'd put it in a PR somewhere but can't seem to find it all the various other threads + PRs 🤔
Edited to add: I forgot about this https://github.com/Brantone/chef-android-sdk/issues/1 , probably why an actual PR never manifested. I suspected something in environment variables that'd cause it to be inconsistent.