summaryrefslogtreecommitdiffhomepage
path: root/android/service
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2023-09-21 08:54:24 +0200
committerAlbin <albin@mullvad.net>2023-09-21 18:30:52 +0200
commit119da166330aaf5ef037f4269e36eedc5f142da9 (patch)
tree84a95ea7b89746c446bbbfaa232f2cd85d232d31 /android/service
parent8066e42cff442207830ed05e6db1395e34c2d1db (diff)
downloadmullvadvpn-119da166330aaf5ef037f4269e36eedc5f142da9.tar.xz
mullvadvpn-119da166330aaf5ef037f4269e36eedc5f142da9.zip
Add billing and infrastructure flavor dimensions
Flavor dimension usage: * `billing` - used to build separate artifacts where (1) different policies are followed and (2) different dependencies are used. * `infrastructure` - used to improve development and testing against non-production environments.
Diffstat (limited to 'android/service')
-rw-r--r--android/service/build.gradle.kts7
1 files changed, 7 insertions, 0 deletions
diff --git a/android/service/build.gradle.kts b/android/service/build.gradle.kts
index 65d3737068..bbdb862cf3 100644
--- a/android/service/build.gradle.kts
+++ b/android/service/build.gradle.kts
@@ -22,6 +22,13 @@ android {
abortOnError = true
warningsAsErrors = true
}
+
+ flavorDimensions += FlavorDimensions.BILLING
+
+ productFlavors {
+ create(Flavors.OSS) { dimension = FlavorDimensions.BILLING }
+ create(Flavors.PLAY) { dimension = FlavorDimensions.BILLING }
+ }
}
dependencies {