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
Changed packaging from pom/jar to apklib on google-play-services #70
Changed packaging from pom/jar to apklib on google-play-services #70
Conversation
In revision 3 of the google-play-services the packaging was changed from jar to apklib to support the new Google Maps functionality. This commit updates the packaging.
Changed packaging from pom/jar to apklib on google-play-services
I am gonna test and update the readme.. |
I just updated the readme seconds before you merged :) |
hahah... awesome.. I told @JakeWharton on g+ already ;-) |
Thanks for the work on this issue. Unfortunately the issue is not completely resolved. Currently, you need to add two dependencies to your project:
Although the original Android Libraries do not support binaries, the apklib format does. So it would be preferable to only have the apklib dependency. |
Maybe I'm wrong on my last comment. It looks like the libs/ folder in apklibs is only used for native libraries, not for jar'ed class files. Does anyone know for sure? |
Maybe it will work, I think the native libs directory can be used to package Jars that the source has dependencies on. On Thursday, 6 December 2012 at 1:06 AM, Andreas Schildbach wrote:
|
From my understanding you need both.. |
We should be properly excluding the <nativeLibrariesDirectory>ignored</nativeLibrariesDirectory> and then adding a dependency to the 'jar' from the 'apklib' so you only have to pull in one thing. |
GPS version 4 has been released. |
Unless the structure has changed it should still work as the version is read from sources.properties. |
@Goonie can you try and provide a pull request if anything fails... I am flat out atm. |
In revision 3 of the google-play-services the packaging was changed from jar to apklib to support the new Google Maps functionality.
This commit updates the packaging.