Don't strip google resources, let build tools make it for us
This commit is contained in:
parent
2c8e169363
commit
1ffc6ade44
@ -156,22 +156,6 @@ signing {
|
||||
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"
|
||||
version = android.defaultConfig.versionName
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user