~ 2 min read

Individual Google Play Services for Android with Gradle

Google Play services API split by individual service

Google+

compile 'com.google.android.gms:play-services-plus:6.5.+'

Google Account Login

compile 'com.google.android.gms:play-services-identity:6.5.+'

Google Activity Recognition

compile 'com.google.android.gms:play-services-location:6.5.+'

Google App Indexing

compile 'com.google.android.gms:play-services-appindexing:6.5.+'

Google Cast

compile 'com.google.android.gms:play-services-cast:6.5.+'

Google Drive

compile 'com.google.android.gms:play-services-drive:6.5.+'

Google Fit

compile 'com.google.android.gms:play-services-fitness:6.5.+'

Google Maps

compile 'com.google.android.gms:play-services-maps:6.5.+'

Google Mobile Ads

compile 'com.google.android.gms:play-services-ads:6.5.+'

Google Panorama Viewer

compile 'com.google.android.gms:play-services-panorama:6.5.+'

Google Play Game services

compile 'com.google.android.gms:play-services-games:6.5.+'

Google Wallet

compile 'com.google.android.gms:play-services-wallet:6.5.+'

Android Wear

compile 'com.google.android.gms:play-services-wearable:6.5.+'

Google Actions
Google Analytics
Google Cloud Messaging

compile 'com.google.android.gms:play-services-base:6.5.+'

Source block:

Copy and uncomment the ones that you need

// Google+
// compile "com.google.android.gms:play-services-plus:6.5.+"
// Google Account Login
// compile "com.google.android.gms:play-services-identity:6.5.+"
// Google Activity Recognition
// compile "com.google.android.gms:play-services-location:6.5.+"
// Google App Indexing
//compile "com.google.android.gms:play-services-appindexing:6.5.+"
// Google Cast
//compile "com.google.android.gms:play-services-cast:6.5.+"
// Google Drive
//compile "com.google.android.gms:play-services-drive:6.5.+"
// Google Fit
//compile "com.google.android.gms:play-services-fitness:6.5.+"
// Google Maps
//compile "com.google.android.gms:play-services-maps:6.5.+"
// Google Mobile Ads
//compile "com.google.android.gms:play-services-ads:6.5.+"
// Google Panorama Viewer
//compile "com.google.android.gms:play-services-panorama:6.5.+"
// Google Play Game services
//compile "com.google.android.gms:play-services-games:6.5.+"
// Google Wallet
//compile "com.google.android.gms:play-services-wallet:6.5.+"
// Android Wear
//compile "com.google.android.gms:play-services-wearable:6.5.+"
// Google Actions
// Google Analytics
// Google Cloud Messaging
//compile "com.google.android.gms:play-services-base:6.5.+"