Update build.gradle - Changed guava to v20#308
Update build.gradle - Changed guava to v20#308domesticmouse merged 1 commit intogooglemaps:masterfrom
Conversation
com.google.guava:guava v22 require JDK 8, changing to guava v20 makes it compatible with JDK 7+.
|
Sorry to be a pain, but as I have written elsewhere the best way to access the Google Maps Web Services is either via the Places API for Android or via a Server based proxy, which can then utilise one of our Client Libraries, of which this is proudly one. The reason for requiring this indirection is that embedding the API key for using the Google Maps Web Services into a mobile app, be it Android or iOS opens you up to API key theft. We'd much prefer that not to happen. Thanks! |
|
Actually, now that I've written that, there are valid use cases for using this library with Java7 in production, so I'll land this PR. But still, please don't use this library in Android. =) |
|
Don't worry, I'm not using that for the mobile. I raised that, because I was having problems to make Objectify work with Java 8 runtime (I will check what can be done there to make it compatible). |
|
Ahh cool. I'll roll a v0.2.2 release next week to publish this change. Thanks for understanding! |
|
Just another data point: I am using google-maps-services-java with Java 7 in production, and will be for at least another six months. It's being used in a server-side application written in Matlab and using Matlab's embedded JVM, which is currently still on Java 7. I think this counts as one of those valid use cases. |
|
I'll roll this fix out soon =) |
com.google.guava:guava v22 require JDK 8, changing to guava v20 makes it compatible with JDK 7+.