Added -debug suffix to versionName, so in about page we can know if app is release or debug flavor

This commit is contained in:
Sylvain Berfini 2018-11-21 12:49:40 +01:00
parent 8a77ab0425
commit 8fe438cb00

View file

@ -87,6 +87,7 @@ android {
applicationIdSuffix ".debug" applicationIdSuffix ".debug"
debuggable true debuggable true
jniDebuggable true jniDebuggable true
versionNameSuffix '-debug'
} }
} }
@ -111,16 +112,13 @@ dependencies {
} }
androidTestImplementation 'com.jayway.android.robotium:robotium-solo:5.6.3' androidTestImplementation 'com.jayway.android.robotium:robotium-solo:5.6.3'
androidTestImplementation 'junit:junit:4.12' androidTestImplementation 'junit:junit:4.12'
implementation 'com.google.firebase:firebase-messaging:15.0.2' implementation 'com.google.firebase:firebase-messaging:15.0.2'
implementation 'com.android.billingclient:billing:1.2' implementation 'com.android.billingclient:billing:1.2'
implementation 'org.apache.commons:commons-compress:1.16.1' implementation 'org.apache.commons:commons-compress:1.16.1'
implementation 'com.android.support:support-v4:28.0.0' implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:recyclerview-v7:28.0.0' implementation 'com.android.support:recyclerview-v7:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0' implementation 'com.android.support:design:28.0.0'
if (isLocalAarAvailable()) { if (isLocalAarAvailable()) {
implementation project(":linphone-sdk-android") implementation project(":linphone-sdk-android")
} else { } else {