From 6180ea33027d043f2fc4332e001f1ff4b182df5b Mon Sep 17 00:00:00 2001 From: onlymash Date: Tue, 20 Mar 2018 23:16:49 +0800 Subject: [PATCH] remove productFlavors --- app/build.gradle | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 73789278a..3ca0f51a8 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -7,6 +7,7 @@ android { compileSdkVersion 27 defaultConfig { + applicationId "com.hippo.ehviewer" minSdkVersion 14 targetSdkVersion 27 versionCode 80 @@ -25,18 +26,12 @@ android { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' - } - } - flavorDimensions "debugFlavor" - productFlavors { - releaseFlavor { resValue "string", "app_name", "EhViewer" - applicationId "com.hippo.ehviewer" buildConfigField 'String', 'AUTHORITY', '"com.hippo.ehviewer.fileprovider"' } - debugFlavor { + debug { + applicationIdSuffix ".debug" resValue "string", "app_name", "EhViewerDebug" - applicationId "com.hippo.ehviewer.debug" buildConfigField 'String', 'AUTHORITY', '"com.hippo.ehviewer.debug.fileprovider"' } }