From 93ea5ea9fb018147d3ee1e1c76fad5c27e62d23a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Thu, 20 Feb 2014 09:55:54 +0100 Subject: [PATCH] Try to get grade working again Now it fails because it thinks that ":extern" is a subproject --- build.gradle | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/build.gradle b/build.gradle index 405a07503..aac83cc10 100644 --- a/build.gradle +++ b/build.gradle @@ -16,12 +16,31 @@ dependencies { compile project(':extern:MemorizingTrustManager') } -project(':extern:UniversalImageLoader:library') { +subprojects { + buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath 'com.android.tools.build:gradle:0.8.+' + } + } apply plugin: 'android-library' + android { + buildToolsVersion '19.0.1' + packagingOptions { + exclude "META-INF/LICENSE*" + exclude "META-INF/NOTICE*" + exclude "META-INF/README*" + exclude "META-INF/CHANGELOG*" + exclude "META-INF/BUILD*" + } + } +} +project(':extern:UniversalImageLoader:library') { android { compileSdkVersion 16 - buildToolsVersion '19.0.1' sourceSets { main { @@ -35,17 +54,9 @@ project(':extern:UniversalImageLoader:library') { } } -project(':extern:AndroidPinning') { - android { buildToolsVersion '19.0.1' } -} - -project(':extern:MemorizingTrustManager') { - android { buildToolsVersion '19.0.1' } -} - android { compileSdkVersion 19 - buildToolsVersion "19.0.1" + buildToolsVersion '19.0.1' sourceSets { main {