Redigne versionCode and VersionName

This commit is contained in:
jacques 2022-01-09 12:40:17 +01:00
parent 29f4fc70ce
commit 7d06b503b9

View file

@ -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
}