mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 17:57:16 +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
|
minifyEnabled = true
|
||||||
useProguard = true
|
useProguard = true
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
buildConfigField "boolean", "BETA_RELEASE", "true"
|
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
debuggable = true
|
debuggable = true
|
||||||
minifyEnabled = false
|
minifyEnabled = false
|
||||||
useProguard = false
|
useProguard = false
|
||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
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 "boolean", "PLAY_STORE_RELEASE", "false"
|
||||||
buildConfigField "String", "PRO_FEATURES", "\"https://email.faircode.eu/pro/\""
|
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 "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"
|
dimension "all"
|
||||||
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
||||||
buildConfigField "String", "PRO_FEATURES", "\"https://email.faircode.eu/#pro\""
|
buildConfigField "String", "PRO_FEATURES", "\"https://email.faircode.eu/#pro\""
|
||||||
buildConfigField "String", "GITHUB_LATEST_API", "\"\""
|
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