-
Notifications
You must be signed in to change notification settings - Fork 949
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
Upgrade to okhttp3 #148
Comments
Reading through the upgrade notes looks like there is some interesting changes. I suspect we are architected correctly for the change, but not something I'm going to do before I/O =) |
Any news about OkHttp3 support ? |
We gladly accept pull requests =) |
Working on this in my fork here https://github.com/shmuelr/google-maps-services-java/commits/master One issue, OkHttp moved some methods from the Client to the Builder class. Most noticeably, These methods are now on the Builder. https://square.github.io/okhttp/3.x/okhttp/okhttp3/OkHttpClient.Builder.html This project only uses these methods in the tests, but I'm hesitant to remove them as that will affect the public api of google-maps-services-java. Any suggestions? |
Here was my initial stab at upgrading to OkHttp3: master...domesticmouse:master I hit a couple of issues, and I can't remember how I was going to move this forward. Have a looksee and see if it helps. On the API front, the version of this API is still 0.x, so I'm happy enough to introduce required API breakage. I'd prefer for something to break at compile time rather than run time, for instance. |
Hey @shmuelr, I've just ditched my first attempt (joys of leaving changes off head), I'd like to investigate your code, but you haven't yet signed a CLA. Do you want to put together a PR with your changes, after you have signed said CLA? Please see https://cla.developers.google.com/ for more detail. Thanks! |
Sure thing, just signed CLA and I'll make a pr when I get a chance. |
@shmuelr Did you make any progress on doing this? Please let me know, I can take a dig at this when I get sometime. |
@jagan120 Haven't looked at it in a while. |
Unless someone has a dramatic reason why I shouldn't I'm planning on landing #293 tomorrow, and then cutting a version 0.2.0 release with OkHttp3. I'd like to get this settled in, and then start moving towards a 1.0RC train. Thoughts? |
I'm going to go ahead and mark this as closed, now that version 0.2.0 is in circulation with OkHttp3 support. Thanks! |
https://square.github.io/okhttp/3.x/okhttp/okhttp3/package-summary.html
The text was updated successfully, but these errors were encountered: