mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-21 20:19:23 +01:00
Redigne versionCode and VersionName
This commit is contained in:
parent
29f4fc70ce
commit
7d06b503b9
1 changed files with 4 additions and 2 deletions
|
@ -127,7 +127,9 @@ dependencies {
|
|||
}
|
||||
|
||||
private Integer generateVersionCode() {
|
||||
return ext.minimumSdkVersion * 1000 + ext.versionMajor * 100 + ext.versionMinor
|
||||
Integer versionCode = ext.minimumSdkVersion * 1000 + ext.versionMajor * 100 + ext.versionMinor
|
||||
print "versionCode = " + versionCode +"\n"
|
||||
return versionCode
|
||||
}
|
||||
|
||||
private String generateVersionName() {
|
||||
|
@ -144,6 +146,6 @@ private String generateVersionName() {
|
|||
versionName += "-" + ext.git_version
|
||||
}
|
||||
|
||||
print "Version name = " + versionName
|
||||
print "versionName = " + versionName
|
||||
return versionName
|
||||
}
|
Loading…
Reference in a new issue