remove productFlavors

This commit is contained in:
onlymash authored and seven332 committed 2018-03-23 21:24:08 +08:00
1 parent bf3ebc5ff8
commit 6180ea3302
1 file changed
+3 -8
+3 -8
View File
@@ -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"'
}
}