From 0b1f8b212f1be99efcaf4b7e6e77241e7cdbb96b Mon Sep 17 00:00:00 2001 From: Seweryn Fornalik Date: Thu, 6 May 2021 23:06:10 +0200 Subject: Fix missing flavors --- app/build.gradle | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'app') 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 -- cgit v1.2.1