Extract version code and name
This commit is contained in:
parent
1266e39226
commit
c4d461f915
1 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
def versionMajor = 0
|
||||
def versionMinor = 10
|
||||
def versionPatch = 0
|
||||
def versionBuild = 0
|
||||
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
|
@ -12,8 +17,8 @@ android {
|
|||
applicationId "org.emunix.unipatcher"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 25
|
||||
versionCode 100000
|
||||
versionName "0.10"
|
||||
versionCode versionMajor * 1000000 + versionMinor * 10000 + versionPatch * 100 + versionBuild
|
||||
versionName "${versionMajor}.${versionMinor}.${versionPatch}"
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
cppFlags ""
|
||||
|
|
Loading…
Add table
Reference in a new issue