mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Updated build flavors
This commit is contained in:
parent
b266d5848d
commit
1ce66e2540
1 changed files with 10 additions and 3 deletions
|
@ -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 {
|
||||
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_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…
Reference in a new issue