fix: nightly grep

This commit is contained in:
Zane Schepke 2024-07-27 07:59:55 -04:00
parent f822292584
commit 431b2f9061
2 changed files with 2 additions and 4 deletions

View File

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

View File

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