Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Android 2.x support #6

Open
yhpark opened this issue Mar 12, 2014 · 3 comments
Open

Android 2.x support #6

yhpark opened this issue Mar 12, 2014 · 3 comments

Comments

@yhpark
Copy link

yhpark commented Mar 12, 2014

I really hate to bring this up myself but it's reality that the large portion of devices out there is running on Android 2.x.
Would you consider replace animation related package imports to NineOldAndroid?

@romainpiel
Copy link
Owner

Yes this is a tricky one. I guess we would ideally want two separate builds on maven central, one with noa api 8+, one without noa api 14+. I'll think about a clean way to organize that with gradle flavors.

@yhpark
Copy link
Author

yhpark commented Mar 21, 2014

I just looked through android gradle document and found this:

Important: When enabling publishing of non default, the Maven publishing plugin will publish these additional variants as extra packages (with classifier). This means that this is not really compatible with publishing to a maven repository. You should either publish a single variant to a repository OR enable all config publishing for inter-project dependencies.
http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Library-Publication

So I guess it is not possible right now :(

@romainpiel
Copy link
Owner

Nah don't worry it's definitely possible. Example: https://github.com/chrisbanes/ActionBar-PullToRefresh is pushing 3 different artifacts for the same library.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants