[Android] Fix gradle warnings

Geoffrey Métais git at videolan.org
Wed Apr 4 18:36:16 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Apr  3 18:42:00 2018 +0200| [b76d08e07140e33b8bfeff6ae52b1ad153c267b1] | committer: Geoffrey Métais

Fix gradle warnings

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

 api/build.gradle          | 2 +-
 medialibrary/build.gradle | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/api/build.gradle b/api/build.gradle
index 55314ad78..99929d585 100644
--- a/api/build.gradle
+++ b/api/build.gradle
@@ -58,7 +58,7 @@ task javadocJar(type: Jar, dependsOn: javadoc) {
 dependencies {
     implementation fileTree(dir: 'libs', include: ['*.jar'])
     api "com.android.support:appcompat-v7:$rootProject.ext.appCompatVersion"
-    testApi 'junit:junit:4.12'
+    testImplementation 'junit:junit:4.12'
 }
 
 def properties = new Properties()
diff --git a/medialibrary/build.gradle b/medialibrary/build.gradle
index 94ca75c65..5aa6d322c 100644
--- a/medialibrary/build.gradle
+++ b/medialibrary/build.gradle
@@ -65,5 +65,5 @@ dependencies {
     api "com.android.support:support-v4:$rootProject.ext.appCompatVersion"
     api "com.android.support:support-compat:$rootProject.ext.appCompatVersion"
     api "com.android.support:support-fragment:$rootProject.ext.appCompatVersion"
-    testApi 'junit:junit:4.12'
+    testImplementation 'junit:junit:4.12'
 }
\ No newline at end of file



More information about the Android mailing list