From 7ad1f2fcf15fb8b881d983469e807044d22f1ba9 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Thu, 15 Jul 2021 13:16:15 +0800 Subject: [PATCH] Start using build flavors --- .gitignore | 4 +--- android/app/build.gradle | 7 +++++++ 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index b20c6d9a..a9bfdb4e 100644 --- a/.gitignore +++ b/.gitignore @@ -42,6 +42,4 @@ app.*.symbols app.*.map.json # Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release +/android/app/free* diff --git a/android/app/build.gradle b/android/app/build.gradle index b23649b0..654b8919 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -52,6 +52,13 @@ android { } } + flavorDimensions "version" + productFlavors { + free { + dimension "version" + } + } + splits { abi { enable true