[Android] Fix moviepedia's medialib dependency

Nicolas Pomepuy git at videolan.org
Tue Jan 7 10:44:30 CET 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Jan  7 07:53:46 2020 +0100| [d8be5847b6af288c3b866ad75b7381d798e74574] | committer: Hugo Beauzée-Luyssen

Fix moviepedia's medialib dependency

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

 moviepedia/build.gradle | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/moviepedia/build.gradle b/moviepedia/build.gradle
index 1fd257c87..bd697df33 100644
--- a/moviepedia/build.gradle
+++ b/moviepedia/build.gradle
@@ -22,13 +22,21 @@ android {
             minifyEnabled false
             proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
         }
+        debug {
+            jniDebuggable true
+        }
+        dev {
+            initWith debug
+            matchingFallbacks = ['debug']
+        }
     }
 
 }
 
 dependencies {
     implementation project(':tools')
-    implementation "org.videolan.android:medialibrary-all:$rootProject.ext.medialibraryVersion"
+    debugImplementation "org.videolan.android:medialibrary-all:$rootProject.ext.medialibraryVersion"
+    devImplementation project(':medialibrary')
     implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
     implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
     implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$rootProject.ext.kotlinx_version"



More information about the Android mailing list