From 4240e98a8ef8538a61215f9a2c4f13f65898f216 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sat, 7 Feb 2015 23:53:30 +0100 Subject: [PATCH] Download automatically the BuildTools and support library JakeWharton is the boss, once again :) --- build.gradle | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index f6e3cf61b..d9560c062 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 +}