Skip to content

Instantly share code, notes, and snippets.

View hefuduo's full-sized avatar
💭
I may be slow to respond.

何富多 hefuduo

💭
I may be slow to respond.
View GitHub Profile
@hefuduo
hefuduo / strip_play_services.gradle
Created June 7, 2021 18:00 — forked from dmarcato/strip_play_services.gradle
Gradle task to strip unused packages on Google Play Services library
def toCamelCase(String string) {
String result = ""
string.findAll("[^\\W]+") { String word ->
result += word.capitalize()
}
return result
}
afterEvaluate { project ->
Configuration runtimeConfiguration = project.configurations.getByName('compile')