[Android] Enable AndroidX in gradle

Geoffrey Métais git at videolan.org
Thu Oct 18 16:53:03 CEST 2018


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Oct 18 16:51:56 2018 +0200| [c3adf43a7ef8b487f1077cccdc8b0551dfba91e3] | committer: Geoffrey Métais

Enable AndroidX in gradle

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

 compile.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/compile.sh b/compile.sh
index 637e1ad79..930403e61 100755
--- a/compile.sh
+++ b/compile.sh
@@ -156,7 +156,9 @@ else
 fi
 
 if [ ! -f gradle.properties ]; then
-    echo keyStoreFile=$KEYSTORE_FILE > gradle.properties
+    echo android.enableJetifier=true > gradle.properties
+    echo android.useAndroidX=true >> gradle.properties
+    echo keyStoreFile=$KEYSTORE_FILE >> gradle.properties
     echo storealias=$STOREALIAS >> gradle.properties
     if [ -z "$PASSWORD_KEYSTORE" ]; then
         echo storepwd=android >> gradle.properties



More information about the Android mailing list