[Android] Fix locale list creation by gradle

Nicolas Pomepuy git at videolan.org
Wed Jan 22 16:22:03 CET 2020


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Tue Jan 21 11:57:21 2020 +0100| [0f42605a18b542818b947ea83da50775f03a5b50] | committer: Geoffrey Métais

Fix locale list creation by gradle

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

 vlc-android/build.gradle | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/build.gradle b/vlc-android/build.gradle
index 066c7b9ea..603bc6ae7 100644
--- a/vlc-android/build.gradle
+++ b/vlc-android/build.gradle
@@ -131,7 +131,7 @@ task buildTranslationArray {
         def foundLocales = new StringBuilder()
         foundLocales.append("new String[]{")
 
-        fileTree("res").visit { FileVisitDetails details ->
+        fileTree("../resources/src/main/res").visit { FileVisitDetails details ->
             println 'details: ' + details
             if (details.file.path.endsWith("strings.xml")) {
                 def languageCode = details.file.parentFile.name.replaceAll('values-', '').replaceAll('-r', '-')



More information about the Android mailing list