diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 01bc679..4ed7c8d 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -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 { diff --git a/buildSrc/src/main/kotlin/Constants.kt b/buildSrc/src/main/kotlin/Constants.kt index bf4cb10..9555fea 100644 --- a/buildSrc/src/main/kotlin/Constants.kt +++ b/buildSrc/src/main/kotlin/Constants.kt @@ -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 }