Don't strip google resources, let build tools make it for us

This commit is contained in:
Sergey Solovyev 2017-06-07 21:24:43 +02:00
parent 2c8e169363
commit 1ffc6ade44

View File

@ -156,22 +156,6 @@ signing {
sign configurations.archives sign configurations.archives
} }
gradle.taskGraph.afterTask { Task task ->
if (task.project.name == 'app') {
if (task.name == 'mergeReleaseResources') {
cleanGoogleServicesResources('release')
} else if (task.name == 'mergeDebugResources') {
cleanGoogleServicesResources('debug')
}
}
}
private void cleanGoogleServicesResources(buildType) {
ant.delete(includeEmptyDirs: 'true') {
fileset(dir: file('./build/intermediates/res/merged/' + buildType), includes: '**/common_*')
}
}
group = "org.solovyev.android" group = "org.solovyev.android"
version = android.defaultConfig.versionName version = android.defaultConfig.versionName