• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    Groovy
  • License
    Apache License 2.0
  • Created about 10 years ago
  • Updated about 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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 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