mirror of
https://github.com/jfoucry/Pilldroid.git
synced 2024-11-10 07:51:20 +01:00
Minor changes
This commit is contained in:
parent
fbd855210b
commit
8575421daf
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
}
|
}
|
Loading…
Reference in a new issue