Minor changes

This commit is contained in:
jacques 2021-03-13 10:02:58 +01:00
parent fbd855210b
commit 8575421daf

View file

@ -69,7 +69,7 @@ dependencies {
debugImplementation 'com.amitshekhar.android:debug-db:1.0.6' debugImplementation 'com.amitshekhar.android:debug-db:1.0.6'
} }
private Integer generateVersionCode() { private static Integer generateVersionCode() {
return ext.minimumSdkVersion * 10000000 + ext.versionMajor * 10000 + ext.versionMinor * 100 + ext.versionPatch return ext.minimumSdkVersion * 10000000 + ext.versionMajor * 10000 + ext.versionMinor * 100 + ext.versionPatch
} }
@ -86,7 +86,7 @@ private String generateVersionName() {
if (ext.git_version != null) { if (ext.git_version != null) {
versionName += "-" + ext.git_version versionName += "-" + ext.git_version
} }
print "Version name = " + versionName print "Version name = " + versionName
return versionName; return versionName
} }