Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

JAR without bundled OkHttp code #208

Closed
ChristianKatzmann opened this issue Oct 16, 2015 · 3 comments
Closed

JAR without bundled OkHttp code #208

ChristianKatzmann opened this issue Oct 16, 2015 · 3 comments

Comments

@ChristianKatzmann
Copy link

I already got OkHttp in my classpath (as probably many other users) so I don't need the bundled version of OkHttp from the PayPal Android SDK to decrease the size of the APK and the dex method count.

Is it possible that you ship a version of the JAR without the bundled OkHttp code? This kind of relates to #14: If you would publish your jar to a Maven repository, you can pull in OkHttp as a dependency and Gradle (or Maven) will handle it just fine :)

@braebot
Copy link
Contributor

braebot commented Oct 16, 2015

This makes sense, but would require a little bit of work from our end.

Would it be reasonable to offer two packages, one that includes OkHttp, and one that does not?

@ChristianKatzmann
Copy link
Author

This would be great 👍

@ChristianKatzmann
Copy link
Author

The release on Maven Central fixed this issue :) Thanks a lot!

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

3 participants