PlayServicesStrip-plugin
PlayServicesStrip-plugin copied to clipboard
DEPRECATED - Use play-services 6.x instead. Gradle plugin to strip your google play services
Description
Strip your play services to make it smaller! This plugin is heavily based on this gist, so all credits go to @dextorer.
Usage
The plugin is available on Maven Central
Add the plugin to your classpath, apply the plugin (after the android gradle plugin) and add includes
OR excludes
dependencies {
classpath 'com.github.castorflex.playservicesstrip:plugin:1.0.2'
}
apply plugin: 'com.android.application'
apply plugin: 'playservicesstrip'
playservices {
includes = ["ads", "maps", "common", "internal"]
//OR
excludes = ["drive", "wearable"]
}
Here are the supported packages:
ads
analytics
actions
appindexing
appstate
auth
cast
common
drive
dynamic
fitness
games
gcm
identity
internal
location
maps
panorama
plus
security
tagmanager
wallet
wearable