Merge pull request #977 from maskaravivek/apkName

Use modified branch names for APK
This commit is contained in:
Josephine Lim 2017-11-24 15:52:02 +10:00 committed by GitHub
commit 7a9ff8cc22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -1,3 +1,4 @@
apply from: '../gitutils.gradle'
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
@ -78,6 +79,7 @@ android {
applicationId 'fr.free.nrw.commons'
versionCode 74
versionName '2.5.0'
setProperty("archivesBaseName", "app-commons-v$versionName-" + getBranchName())
minSdkVersion project.minSdkVersion
targetSdkVersion project.targetSdkVersion
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@ -95,6 +97,7 @@ android {
}
debug {
testCoverageEnabled true
versionNameSuffix "-debug-" + getBranchName() + "~" + getBuildVersion()
}
}