Skip to content

Commit

Permalink
Add stagemole flavor
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-mullvad committed Oct 10, 2023
1 parent 3bed86d commit b464ec5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 4 additions & 0 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ android {
dimension = FlavorDimensions.INFRASTRUCTURE
applicationId = "net.mullvad.mullvadvpn.devmole"
}
create(Flavors.STAGEMOLE) {
dimension = FlavorDimensions.INFRASTRUCTURE
applicationId = "net.mullvad.mullvadvpn.stagemole"
}
}

sourceSets {
Expand Down
6 changes: 5 additions & 1 deletion android/buildSrc/src/main/kotlin/BuildVariants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Flavors.DEVMOLE
import Flavors.OSS
import Flavors.PLAY
import Flavors.PROD
import Flavors.STAGEMOLE

object BuildTypes {
const val DEBUG = "debug"
Expand All @@ -29,6 +30,7 @@ object Flavors {

const val PROD = "prod"
const val DEVMOLE = "devmole"
const val STAGEMOLE = "stagemole"
}

val enabledVariantTriples =
Expand All @@ -40,5 +42,7 @@ val enabledVariantTriples =
Triple(PLAY, PROD, DEBUG),
Triple(PLAY, PROD, RELEASE),
Triple(PLAY, DEVMOLE, DEBUG),
Triple(PLAY, DEVMOLE, RELEASE)
Triple(PLAY, DEVMOLE, RELEASE),
Triple(PLAY, STAGEMOLE, DEBUG),
Triple(PLAY, STAGEMOLE, RELEASE)
)

0 comments on commit b464ec5

Please sign in to comment.