Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[proposal] Extract DateTools into separate library. #26

Open
nitrobin opened this issue Jun 1, 2016 · 1 comment
Open

[proposal] Extract DateTools into separate library. #26

nitrobin opened this issue Jun 1, 2016 · 1 comment

Comments

@nitrobin
Copy link

nitrobin commented Jun 1, 2016

We are using HypSystem in our projects for monitoring network status and device information.

It works very well, thanks! :)

But after long time app evolution on android and update to latest android-supported-libs we was faced with "64K Reference Limit" https://developer.android.com/studio/build/multidex.html?hl=ru#about
After investigating I was found that app has many unused joda-time classes.
We was cut libs with "jarjar" and fully remove Joda-time and DateTools.hx in "vendoring" version of HypSystem and it works now.
It would be great to be able option to turn off the Joda-time dependency at compile time or split lib.

I think splitting into two libs (device information and date tools) will be more practical, thanks!

@mastef
Copy link

mastef commented Mar 21, 2017

Yes, I agree, in the lime build process all the resources always get copied over which makes pre-dexing of joda-time also impossible slowing down the android build process. Hypsystem is great for device information, +1 for moving DateTools into separate library

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

No branches or pull requests

2 participants