From 1ffc6ade44b28f633013d24e82f0175178e85dca Mon Sep 17 00:00:00 2001 From: Sergey Solovyev Date: Wed, 7 Jun 2017 21:24:43 +0200 Subject: [PATCH] Don't strip google resources, let build tools make it for us --- app/build.gradle | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 6034fc72..75efc80a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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