|
|
|
@ -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"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|