Updated build flavors

pull/147/head
M66B 6 years ago
parent b266d5848d
commit 1ce66e2540

@ -23,14 +23,12 @@ android {
minifyEnabled = true
useProguard = true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField "boolean", "BETA_RELEASE", "true"
}
debug {
debuggable = true
minifyEnabled = false
useProguard = false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
buildConfigField "boolean", "BETA_RELEASE", "true"
}
}
@ -42,12 +40,21 @@ android {
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
buildConfigField "String", "PRO_FEATURES", "\"https://email.faircode.eu/pro/\""
buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/open-source-email/releases/latest\""
buildConfigField "boolean", "BETA_RELEASE", "true"
}
play_beta {
dimension "all"
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
buildConfigField "String", "PRO_FEATURES", "\"https://email.faircode.eu/#pro\""
buildConfigField "String", "GITHUB_LATEST_API", "\"\""
buildConfigField "boolean", "BETA_RELEASE", "true"
}
play {
play_release {
dimension "all"
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
buildConfigField "String", "PRO_FEATURES", "\"https://email.faircode.eu/#pro\""
buildConfigField "String", "GITHUB_LATEST_API", "\"\""
buildConfigField "boolean", "BETA_RELEASE", "false"
}
}

Loading…
Cancel
Save