[Android] Download automatically the BuildTools and support library
Jean-Baptiste Kempf
git at videolan.org
Sat Feb 7 23:55:37 CET 2015
vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Feb 7 23:53:30 2015 +0100| [4240e98a8ef8538a61215f9a2c4f13f65898f216] | committer: Jean-Baptiste Kempf
Download automatically the BuildTools and support library
JakeWharton is the boss, once again :)
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=4240e98a8ef8538a61215f9a2c4f13f65898f216
---
build.gradle | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index f6e3cf6..d9560c0 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,6 +5,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0.0'
+ classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'
}
}
@@ -12,9 +13,10 @@ allprojects {
repositories {
jcenter()
}
+ apply plugin: 'android-sdk-manager'
}
ext {
buildToolsVersion = "21.1.1"
compileSdkVersion = 21
-}
\ No newline at end of file
+}
More information about the Android
mailing list