mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-05-06 21:33:09 +00:00
Added back .debug package name suffix for debug builds (configurable)
This commit is contained in:
parent
d062910133
commit
b3ef701661
1 changed files with 9 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ plugins {
|
|||
}
|
||||
|
||||
def packageName = "org.linphone"
|
||||
def useDifferentPackageNameForDebugBuild = false
|
||||
|
||||
def crashlyticsAvailable = new File(projectDir.absolutePath +'/google-services.json').exists() && new File(LinphoneSdkBuildDir + '/libs/').exists() && new File(LinphoneSdkBuildDir + '/libs-debug/').exists()
|
||||
|
||||
|
|
@ -88,10 +89,17 @@ android {
|
|||
|
||||
buildTypes {
|
||||
debug {
|
||||
if (useDifferentPackageNameForDebugBuild) {
|
||||
applicationIdSuffix ".debug"
|
||||
}
|
||||
debuggable true
|
||||
jniDebuggable true
|
||||
|
||||
resValue "string", "file_provider", packageName + ".fileprovider"
|
||||
if (useDifferentPackageNameForDebugBuild) {
|
||||
resValue "string", "file_provider", packageName + ".debug.fileprovider"
|
||||
} else {
|
||||
resValue "string", "file_provider", packageName + ".fileprovider"
|
||||
}
|
||||
resValue "string", "linphone_app_version", gitVersion.toString().trim()
|
||||
resValue "string", "linphone_app_branch", gitBranch.toString().trim()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue