[Android] Move versionCode documentation in gradle file

Geoffrey Métais git at videolan.org
Thu Apr 20 09:51:38 CEST 2017


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Apr 20 09:50:50 2017 +0200| [f3de528aa2823614aebf1125ef746e34880526d5] | committer: Geoffrey Métais

Move versionCode documentation in gradle file

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

 build.gradle                    | 18 +++++++++++++++++-
 vlc-android/AndroidManifest.xml | 18 ------------------
 2 files changed, 17 insertions(+), 19 deletions(-)

diff --git a/build.gradle b/build.gradle
index 5b4ac49..271b86d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -20,6 +20,22 @@ ext {
     compileSdkVersion = 25
     minSdkVersion = 9
     targetSdkVersion = 25
-    versionCode = 2010500
     versionName = '2.1.5'
+    versionCode = 2010500
+//    versionCode scheme is T M NN RR AA
+//    T: Target/Flavour (1 for Android, 2 for Chrome?)
+//    M: Major version from 0 to 9
+//    NN: Minor version from 00 to 99
+//    RR: Micro/Revision version from 00 to 99
+//    AA: ABI from 0 to 99
+//    0 is dev
+//    1 was ARMv5        (deprecated)
+//    2 was ARMv6-nofpu  (deprecated)
+//    3 was ARMv6-fpu    (deprecated)
+//    4 is ARMv7-A
+//    5 is x86
+//    6 is MIPS
+//    7 is ARMv8
+//    8 is x86_64
+//    9 is MIPS64
 }
diff --git a/vlc-android/AndroidManifest.xml b/vlc-android/AndroidManifest.xml
index 4835d10..35d87f9 100644
--- a/vlc-android/AndroidManifest.xml
+++ b/vlc-android/AndroidManifest.xml
@@ -3,24 +3,6 @@
     xmlns:tools="http://schemas.android.com/tools"
     package="org.videolan.vlc"
     android:installLocation="auto">
-    <!--
-         versionCode scheme is T M NN RR AA
-         T: Target/Flavour (1 for Android, 2 for Chrome?)
-         M: Major version from 0 to 9
-         NN: Minor version from 00 to 99
-         RR: Micro/Revision version from 00 to 99
-         AA: ABI from 0 to 99
-         0 is dev
-         1 was ARMv5        (deprecated)
-         2 was ARMv6-nofpu  (deprecated)
-         3 was ARMv6-fpu    (deprecated)
-         4 is ARMv7-A
-         5 is x86
-         6 is MIPS
-         7 is ARMv8
-         8 is x86_64
-         9 is MIPS64
-    -->
 
     <uses-sdk
         tools:overrideLibrary="android.support.v17.leanback, android.support.v14.preference, android.support.v17.preference" />



More information about the Android mailing list