summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeweryn Fornalik <s3w3ryn@e.email>2021-05-06 23:06:10 +0200
committerSeweryn Fornalik <s3w3ryn@e.email>2021-05-10 15:05:06 +0200
commit0b1f8b212f1be99efcaf4b7e6e77241e7cdbb96b (patch)
treea42c1be39d40a7de48761174dcf10d342dd58c6e
parent31e75dda8668dbb825b71ce81d57d1b5f48fb55a (diff)
Fix missing flavors
-rw-r--r--app/build.gradle15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index f0558fa..a095464 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -18,6 +18,21 @@ android {
resValue("string", "mapbox_key", MAPBOX_KEY)
}
+ // We define here the OS flavor e, specific for the /e/ OS version, and google, for any
+ // Andriod device. The e or google prefix is then used in resources, dependencies, ... as
+ // expected by the android gradle plugin.
+ flavorDimensions 'os'
+ productFlavors {
+ e {
+ applicationId 'foundation.e.privacymodulesdemo.e'
+ dimension 'os'
+ }
+ google {
+ applicationId 'foundation.e.privacymodeulesdemo.google'
+ dimension 'os'
+ }
+ }
+
buildTypes {
release {
minifyEnabled false