[Android] Fix libvlc aar naming

Geoffrey Métais git at videolan.org
Wed Sep 26 17:48:06 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Sep 25 18:11:38 2018 +0200| [c94067f1bde9e7c74bc20207ed9e2255d9946ded] | committer: Geoffrey Métais

Fix libvlc aar naming

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

 libvlc/build.gradle | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libvlc/build.gradle b/libvlc/build.gradle
index a7e114177..c72436dcc 100644
--- a/libvlc/build.gradle
+++ b/libvlc/build.gradle
@@ -28,9 +28,9 @@ android {
     libraryVariants.all { variant ->
         def vlcVersion = rootProject.ext.versionName
         //Custom APK name
-        variant.outputs.all { output ->
-            if (outputFileName != null && outputFileName.endsWith('.aar')) {
-                outputFileName = "libvlc-${vlcVersion}.aar"
+        variant.outputs.each { output ->
+            if (output.outputFileName != null && output.outputFileName.endsWith('.aar')) {
+                output.outputFileName = "libvlc-${vlcVersion}.aar"
             }
         }
     }



More information about the Android mailing list