From ea6c888fb4f2d355e96ee4e0bc883753ef2ab5f8 Mon Sep 17 00:00:00 2001
From: thermatk <thermatk@thermatk.com>
Date: Thu, 7 Sep 2017 10:41:43 +0200
Subject: [PATCH] add foss and playstore flavors

---
 app/build.gradle | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/app/build.gradle b/app/build.gradle
index ee26b31..494221b 100755
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -29,6 +29,17 @@ android {
         }
     }
 
+    productFlavors {
+        // includes proprietary libs
+        playstore {
+
+        }
+        // only foss
+        foss {
+
+        }
+    }
+
     compileOptions {
         sourceCompatibility JavaVersion.VERSION_1_7
         targetCompatibility JavaVersion.VERSION_1_7
@@ -50,6 +61,6 @@ android {
     }
 }
 dependencies {
-    compile files('libs/anrwatchdog-1.3.0.jar')
-    compile 'com.google.firebase:firebase-database:9.0.0'
+    playstoreCompile files('libs/anrwatchdog-1.3.0.jar')
+    playstoreCompile 'com.google.firebase:firebase-database:9.0.0'
 }
\ No newline at end of file
-- 
GitLab