summaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle21
1 files changed, 21 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 5352608..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
@@ -41,6 +56,12 @@ android {
}
dependencies {
+ implementation project(":privacymodulesapi")
+
+ // include the google specific version of the modules, just for the google flavor
+ googleImplementation project(":privacymodulesgoogle")
+ // include the e specific version of the modules, just for the e flavor
+ eImplementation project(":privacymodulese")
implementation project(":flow-mvi")
implementation Libs.Kotlin.stdlib
implementation Libs.AndroidX.coreKtx