[Android] Fix SDK versionning setting

Geoffrey Métais git at videolan.org
Mon Apr 11 10:53:34 CEST 2016


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Apr 11 10:52:31 2016 +0200| [958d8fb3b8981f40b739d67faa68a718923d8380] | committer: Geoffrey Métais

Fix SDK versionning setting

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

 api/build.gradle    | 6 ++----
 libvlc/build.gradle | 5 -----
 2 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/api/build.gradle b/api/build.gradle
index 765a9fb..605c67b 100644
--- a/api/build.gradle
+++ b/api/build.gradle
@@ -24,12 +24,10 @@
 apply plugin: 'com.android.library'
 
 android {
-    compileSdkVersion 23
-    buildToolsVersion '23.0.2'
+    compileSdkVersion rootProject.ext.compileSdkVersion
+    buildToolsVersion rootProject.ext.buildToolsVersion
 
     defaultConfig {
-        minSdkVersion 8
-        targetSdkVersion 23
         versionCode 1
         versionName "1.0"
     }
diff --git a/libvlc/build.gradle b/libvlc/build.gradle
index 881af94..45dfc18 100644
--- a/libvlc/build.gradle
+++ b/libvlc/build.gradle
@@ -18,11 +18,6 @@ android {
     }
     }
 
-    defaultConfig {
-        minSdkVersion 7
-        targetSdkVersion 22
-    }
-
     buildTypes {
         release {
             minifyEnabled false



More information about the Android mailing list