android: Move versionCode to liboSettings.gradle.in.

Change-Id: I32ab573831d4b0d5ef08787ae6c8234b3caad0ee
This commit is contained in:
Jan Holesovsky 2019-06-18 13:26:07 +02:00
parent 9b7b2a7590
commit 8b349d589f
2 changed files with 3 additions and 5 deletions

View file

@ -6,11 +6,9 @@ apply from: 'liboSettings.gradle'
android {
compileSdkVersion 28
defaultConfig {
// applicationId defined in liboSettings.gradle
// applicationId, versionCode and versionName are defined in liboSettings.gradle
minSdkVersion 21
targetSdkVersion 28
versionCode 1
// versionName defined in liboSettings.gradle
}
buildTypes {
debug {

View file

@ -17,6 +17,6 @@ ext {
}
android.defaultConfig {
applicationId 'org.libreoffice.androidapp'
//versionCode project.hasProperty('cmdVersionCode') ? cmdVersionCode.toInteger() : 1
versionName '1.0/@LOOLWSD_VERSION@'
versionCode 1
versionName '@LOOLWSD_VERSION@'
}