From 31c1b0d1c0302bc01c226955d42ff2baeffa5271 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Thu, 12 Dec 2013 16:07:59 +0300 Subject: [PATCH] Updated compiler API level --- lib/AndroidManifest.xml | 4 +--- lib/build.gradle | 11 +++++++++-- lib/project.properties | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/lib/AndroidManifest.xml b/lib/AndroidManifest.xml index bc1f234..1bea627 100644 --- a/lib/AndroidManifest.xml +++ b/lib/AndroidManifest.xml @@ -3,8 +3,6 @@ android:versionCode="1" android:versionName="1.0" > - + \ No newline at end of file diff --git a/lib/build.gradle b/lib/build.gradle index 070e6de..12dac15 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -5,8 +5,8 @@ dependencies { } android { - compileSdkVersion 18 - buildToolsVersion "18.0.1" + compileSdkVersion 19 + buildToolsVersion "19" sourceSets { main { @@ -19,8 +19,15 @@ android { assets.srcDirs = ['assets'] } + // Move the tests to tests/java, tests/res, etc... instrumentTest.setRoot('tests') + // Move the build types to build-types/ + // For instance, build-types/debug/java, build-types/debug/AndroidManifest.xml, ... + // This moves them out of them default location under src//... which would + // conflict with src/ being used by the main source set. + // Adding new build types or product flavors should be accompanied + // by a similar customization. debug.setRoot('build-types/debug') release.setRoot('build-types/release') } diff --git a/lib/project.properties b/lib/project.properties index 484dab0..91d2b02 100644 --- a/lib/project.properties +++ b/lib/project.properties @@ -11,5 +11,5 @@ #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt # Project target. -target=android-17 +target=android-19 android.library=true