castorflex / PlayServicesStrip-plugin

DEPRECATED - Use play-services 6.x instead. Gradle plugin to strip your google play services

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

DEPRECATED - Use play-services 6.x instead. Gradle plugin to strip your google play services

License:Apache License 2.0


Languages

Language:Groovy 100.0%