Commit da5e900a authored by Nishith  Khanna's avatar Nishith Khanna
Browse files

Update version code, version name and change apk naming scheme

parent 4c54f9bf
Pipeline #187290 passed with stage
in 3 minutes and 25 seconds
......@@ -8,8 +8,8 @@ apply plugin: 'kotlin-android-extensions'
// Manifest version information!
def versionMajor = 1
def versionMinor = 3
def versionPatch = 2
def versionMinor = 4
def versionPatch = 0
Properties localProps = new Properties()
File localPropsFile = project.rootProject.file('local.properties')
......@@ -28,7 +28,7 @@ android {
applicationId "foundation.e.blisslauncher"
minSdkVersion Versions.min_sdk
targetSdkVersion Versions.target_sdk
versionCode versionMajor * 10000 + versionMinor * 1000 + versionPatch * 100
versionCode versionMajor * 1000000 + versionMinor * 1000 + versionPatch
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
......@@ -49,12 +49,9 @@ android {
}
applicationVariants.all { variant ->
if (variant.buildType.name == "debug") {
variant.outputs.all { output ->
outputFileName = "BlissLauncher-${variant.getFlavorName()}-${variant.versionName}.apk"
outputFileName = "BlissLauncher-${variant.versionName}-${variant.getFlavorName()}.apk"
}
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment