[libgdx] + [GooglePlay] + [Gradle] How to add Google Plays API in gradle build?
Hi Guys!
I followed the tutorial described here :
I had to use eclipse though!
And now, my project wont run on netbeans!
So, how can i add BaseGameUtils and GooglePlayApi on gradle?
It says here :
[quote]If you’re using another build system…
If you are using your own build system, here is a summary of what you must do:
Configure it to treat google-play-services_lib and BaseGameUtils as library projects, which means that not only their code but also their resources will also get added to the final build.
Make sure TrivialQuest depends on BaseGameUtils
Make sure BaseGameUtils depends on google-play-services_lib.
Make sure the build system is signing the APK with the right certificate (the one whose fingerprint you provided in the Developer Console when creating your client ID)
[/quote]
And Step 2 of this : http://fortheloss.org/tutorial-set-up-google-services-with-libgdx/
[quote]First, import the Google Play Services SDK. With Eclipse open to your current workspace, go to File > Import > Android > Existing Android Code Into Workspace.
Browse to where the Google Play Services SDK is saved (when downloaded through Eclipse ADT, it is location at [Android SDK Location]\sdk\extras\google\google_play_services and select it. Before importing, be sure to check Copy projects into workspace.
[/quote]
Those two steps… How can i convert them to gradle ?