diff --git a/build.gradle b/build.gradle index 96f7215..914ab56 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,22 @@ +buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath 'com.android.tools.build:gradle:0.6.+' + } +} + apply plugin: 'android' dependencies { compile fileTree(dir: 'libs', include: '*.jar') - compile project(':SlidingMenu:library') + compile project(':SlidingMenu') } android { compileSdkVersion 16 - buildToolsVersion "16.0.0" + buildToolsVersion "18.1.1" sourceSets { main { @@ -20,16 +29,5 @@ 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') } }