1apply plugin: 'android'
2
3android {
4    compileSdkVersion 17
5    buildToolsVersion "17.0.0"
6
7    defaultConfig {
8        minSdkVersion 8
9    }
10
11    android {
12        sourceSets {
13            main {
14                manifest.srcFile 'AndroidManifest.xml'
15                java.srcDirs = ['src']
16                resources.srcDirs = ['src']
17                aild.srcDirs = ['src']
18                renderscript.srcDirs = ['src']
19                res.srcDirs = ['res']
20                assets.srcDirs = ['assets']
21            }
22
23            instrumentTest.setRoot('tests')
24            instrumentTest.java.srcDirs = ['tests/src']
25        }
26    }
27}