Skip to content

Commit

Permalink
fix: nightly grep
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneschepke committed Jul 27, 2024
1 parent f822292 commit 431b2f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import java.util.Properties

plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.kotlin.android)
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/kotlin/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 431b2f9

Please sign in to comment.