fix: nightly grep
This commit is contained in:
parent
f822292584
commit
431b2f9061
|
@ -1,5 +1,3 @@
|
|||
import java.util.Properties
|
||||
|
||||
plugins {
|
||||
alias(libs.plugins.android.application)
|
||||
alias(libs.plugins.kotlin.android)
|
||||
|
@ -186,7 +184,7 @@ dependencies {
|
|||
}
|
||||
|
||||
fun versionCode() : Int {
|
||||
return if(!isNightlyBuild()) Constants.VERSION_CODE else Constants.VERSION_CODE + Constants.NIGHTLY_VERSION_CODE
|
||||
return if(!isNightlyBuild()) Constants.VERSION_CODE else Constants.VERSION_CODE + Constants.NIGHTLY_CODE
|
||||
}
|
||||
|
||||
fun versionName() : String {
|
||||
|
|
|
@ -16,5 +16,5 @@ object Constants {
|
|||
const val DEBUG = "debug"
|
||||
const val TYPE = "type"
|
||||
|
||||
const val NIGHTLY_VERSION_CODE = 42
|
||||
const val NIGHTLY_CODE = 42
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue