[Android] Gradle: Fix dev flavors in modules

Geoffrey Métais git at videolan.org
Wed Feb 5 11:05:49 CET 2020


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 30 11:31:51 2020 +0100| [2fe640ff643aba1bb9825ac8bcfdc599fa380841] | committer: Nicolas Pomepuy

Gradle: Fix dev flavors in modules

> https://code.videolan.org/videolan/vlc-android/commit/2fe640ff643aba1bb9825ac8bcfdc599fa380841
---

 application/mediadb/build.gradle    | 4 ++++
 application/television/build.gradle | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/application/mediadb/build.gradle b/application/mediadb/build.gradle
index 374becb88..1fc0c8dc7 100644
--- a/application/mediadb/build.gradle
+++ b/application/mediadb/build.gradle
@@ -44,6 +44,10 @@ android {
             minifyEnabled false
             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
         }
+        dev {
+            initWith debug
+            matchingFallbacks = ['debug']
+        }
     }
 
 }
diff --git a/application/television/build.gradle b/application/television/build.gradle
index f57d36a4e..4f35d05f6 100644
--- a/application/television/build.gradle
+++ b/application/television/build.gradle
@@ -26,6 +26,10 @@ android {
             minifyEnabled false
             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
         }
+        dev {
+            initWith debug
+            matchingFallbacks = ['debug']
+        }
     }
 
 }



More information about the Android mailing list