Fix f-droid can't build new app version.

F-Droid has a strict limitation (😞) that version code and
version name should be in the app build.gradle.

Signed-off-by: Yahor Berdnikau <egorr.berd@gmail.com>
This commit is contained in:
Yahor Berdnikau 2018-06-12 21:53:06 +02:00
parent 1c7e5bb0f2
commit c55ca02865
2 changed files with 2 additions and 5 deletions

View File

@ -1,7 +1,4 @@
ext.versions = [
versionCode : 67,
versionName : "2.4.0",
minSdk : 14,
targetSdk : 22,
compileSdk : 27,

View File

@ -8,8 +8,8 @@ android {
defaultConfig {
applicationId "org.moire.ultrasonic"
versionCode versions.versionCode
versionName versions.versionName
versionCode 67
versionName "2.4.0"
minSdkVersion versions.minSdk
targetSdkVersion versions.targetSdk